=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/compress/gzopen.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/compress/gzopen.c 2002/02/16 21:27:45 1.3 +++ src/usr.bin/compress/gzopen.c 2002/08/12 00:42:56 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: gzopen.c,v 1.3 2002/02/16 21:27:45 millert Exp $ */ +/* $OpenBSD: gzopen.c,v 1.4 2002/08/12 00:42:56 aaron Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -135,7 +135,7 @@ errno = EINVAL; return NULL; } - if ((s = (gz_stream *)calloc(sizeof(gz_stream), 1)) == NULL) + if ((s = (gz_stream *)calloc(1, sizeof(gz_stream))) == NULL) return NULL; s->z_stream.zalloc = (alloc_func)0;