diff options
-rw-r--r-- | usr.sbin/kgzip/kgzip.c | 4 | ||||
-rw-r--r-- | usr.sbin/kgzip/xio.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/kgzip/kgzip.c b/usr.sbin/kgzip/kgzip.c index 5e96432..788825e 100644 --- a/usr.sbin/kgzip/kgzip.c +++ b/usr.sbin/kgzip/kgzip.c @@ -70,9 +70,9 @@ main(int argc, char *argv[]) int cflag, vflag, c; tmpdir = getenv("TMPDIR"); - if (asprintf(&tname, "%s/kgzXXXXXXXXXX", tmpdir == NULL ? _PATH_TMP : tmpdir) == -1) + if (asprintf(&tname, "%s/kgzXXXXXXXXXX", + tmpdir == NULL ? _PATH_TMP : tmpdir) == -1) errx(1, "Out of memory"); - output = NULL; cflag = vflag = 0; while ((c = getopt(argc, argv, "cvf:l:o:")) != -1) diff --git a/usr.sbin/kgzip/xio.c b/usr.sbin/kgzip/xio.c index 21c9634..64481ff 100644 --- a/usr.sbin/kgzip/xio.c +++ b/usr.sbin/kgzip/xio.c @@ -27,7 +27,6 @@ */ #include <err.h> -#include <fcntl.h> #include <string.h> #include <unistd.h> |