X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fifo.c;h=98737e9c8305aa00ea6f21e9a08d2af0b1b97e6f;hp=de0318414ad45aea2ba11326ccf2405756c9c5b1;hb=9d5fe300085759c0f764a62be27355fe80b5fd8f;hpb=5ec10eaad3b09875b91e19a20bbdfa06f2117562 diff --git a/fifo.c b/fifo.c index de031841..98737e9c 100644 --- 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;