aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-12-31 04:40:52 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-12-31 04:40:52 +0000
commit556751c1e83d59c472419808abd16ed6d59e9529 (patch)
tree755d24f57a49e9404f21d0e67be193ff33af3fd4
parent3c8ea7601ed05f427ea0108e2ec73d04597e1efd (diff)
Notes
-rw-r--r--usr.bin/compress/zopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/compress/zopen.c b/usr.bin/compress/zopen.c
index b76fca6edada8..9790f247ae7b9 100644
--- a/usr.bin/compress/zopen.c
+++ b/usr.bin/compress/zopen.c
@@ -258,7 +258,7 @@ zwrite(cookie, wbp, num)
if (fwrite(magic_header,
sizeof(char), sizeof(magic_header), fp) != sizeof(magic_header))
return (-1);
- tmp = (u_char)(BITS | block_compress);
+ tmp = (u_char)((maxbits) | block_compress);
if (fwrite(&tmp, sizeof(char), sizeof(tmp), fp) != sizeof(tmp))
return (-1);