diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-22 20:03:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-22 20:03:22 +0000 |
commit | d9302774cb8c8384146acd8487d1f2205f3849cf (patch) | |
tree | b3240c1fc623e85a28881c8339f8594efc9955ce /gnu | |
parent | 07fc61309bba3d3695edd5e8430eb94a8ccd45e1 (diff) |
oops
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gzip/gzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gzip/gzip.c b/gnu/usr.bin/gzip/gzip.c index 213eae6dc55..0fad2d46ff5 100644 --- a/gnu/usr.bin/gzip/gzip.c +++ b/gnu/usr.bin/gzip/gzip.c @@ -45,7 +45,7 @@ static char *license_msg[] = { */ #ifdef RCSID -static char rcsid[] = "$Id: gzip.c,v 1.3 1998/01/02 04:22:45 deraadt Exp $"; +static char rcsid[] = "$Id: gzip.c,v 1.4 1998/11/22 20:03:21 deraadt Exp $"; #endif #include <ctype.h> @@ -521,7 +521,7 @@ int main (argc, argv) if (*optarg == '.') optarg++; #endif z_len = strlen(optarg); - if (z_len > z_suffix-1) { + if (z_len > sizeof(z_suffix)-1) { fprintf(stderr, "%s: -S suffix too long\n", progname); usage(); do_exit(ERROR); |