Merge branch 'asprintf' of https://github.com/bvanassche/fio
[fio.git] / fifo.c
diff --git a/fifo.c b/fifo.c
index de0318414ad45aea2ba11326ccf2405756c9c5b1..98737e9c8305aa00ea6f21e9a08d2af0b1b97e6f 100644 (file)
--- a/fifo.c
+++ b/fifo.c
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  */
 
@@ -31,7 +31,7 @@ struct fifo *fifo_alloc(unsigned int size)
 
        fifo = malloc(sizeof(struct fifo));
        if (!fifo)
-               return 0;
+               return NULL;
 
        fifo->buffer = malloc(size);
        fifo->size = size;