diff options
author | rnordier <rnordier@FreeBSD.org> | 2000-11-20 20:35:35 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 2000-11-20 20:35:35 +0000 |
commit | 4b4faecef9b9f4b794e8eb0e26c0a80828c74a9f (patch) | |
tree | 18dfaae38e649cfba1d4cc5830ddce9f1dde0761 /usr.sbin/kgzip | |
parent | 71e2293ad43d8745a8e735483e3f07631714be05 (diff) | |
download | FreeBSD-src-4b4faecef9b9f4b794e8eb0e26c0a80828c74a9f.zip FreeBSD-src-4b4faecef9b9f4b794e8eb0e26c0a80828c74a9f.tar.gz |
Wrap over-long line; drop superfluous include.
Diffstat (limited to 'usr.sbin/kgzip')
-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> |