X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fifo.c;h=81d13b57ea5aa16ccb41d7930c7fb703dbc269b1;hp=de0318414ad45aea2ba11326ccf2405756c9c5b1;hb=38b9354a7a9bf124589475c5d16c1b7c692c9b57;hpb=5ec10eaad3b09875b91e19a20bbdfa06f2117562 diff --git a/fifo.c b/fifo.c index de031841..81d13b57 100644 --- a/fifo.c +++ b/fifo.c @@ -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;