summaryrefslogtreecommitdiff
path: root/usr.bin/file/compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/compress.c')
-rw-r--r--usr.bin/file/compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/file/compress.c b/usr.bin/file/compress.c
index 462fbdc7704..636f3744a3f 100644
--- a/usr.bin/file/compress.c
+++ b/usr.bin/file/compress.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compress.c,v 1.9 2003/06/13 18:31:14 deraadt Exp $ */
+/* $OpenBSD: compress.c,v 1.10 2003/07/02 00:21:16 avsm Exp $ */
/*
* compress routines:
@@ -156,7 +156,7 @@ pipe2file(int fd, void *startbuf, size_t nbytes)
char buf[4096];
int r, tfd;
- (void)strlcpy(buf, "/tmp/file.XXXXXX", sizeof buf);
+ (void)strlcpy(buf, "/tmp/file.XXXXXXXXXX", sizeof buf);
#ifndef HAVE_MKSTEMP
{
char *ptr = mktemp(buf);