summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kgzip
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>2000-11-20 20:35:35 +0000
committerrnordier <rnordier@FreeBSD.org>2000-11-20 20:35:35 +0000
commit4b4faecef9b9f4b794e8eb0e26c0a80828c74a9f (patch)
tree18dfaae38e649cfba1d4cc5830ddce9f1dde0761 /usr.sbin/kgzip
parent71e2293ad43d8745a8e735483e3f07631714be05 (diff)
downloadFreeBSD-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.c4
-rw-r--r--usr.sbin/kgzip/xio.c1
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>
OpenPOWER on IntegriCloud