summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nghook
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-11-30 02:09:36 +0000
committerarchie <archie@FreeBSD.org>1999-11-30 02:09:36 +0000
commitbc318e01dfeb80c73c99e12a2f08fde829228099 (patch)
treeec0ad48c06200e043348c1992badb67b20e0d500 /usr.sbin/nghook
parent8cd679b7fcbe3dbe169b14aeb2d555e6bf79076d (diff)
downloadFreeBSD-src-bc318e01dfeb80c73c99e12a2f08fde829228099.zip
FreeBSD-src-bc318e01dfeb80c73c99e12a2f08fde829228099.tar.gz
Remove extra spaces in hex dump output.
Diffstat (limited to 'usr.sbin/nghook')
-rw-r--r--usr.sbin/nghook/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nghook/main.c b/usr.sbin/nghook/main.c
index ce29d9d..8027dc6 100644
--- a/usr.sbin/nghook/main.c
+++ b/usr.sbin/nghook/main.c
@@ -200,7 +200,7 @@ WriteAscii(u_char *buf, int len)
sizeof(sbuf) - strlen(sbuf), "%c", ch);
} else
snprintf(sbuf + strlen(sbuf),
- sizeof(sbuf) - strlen(sbuf), " ");
+ sizeof(sbuf) - strlen(sbuf), " ");
snprintf(sbuf + strlen(sbuf),
sizeof(sbuf) - strlen(sbuf), "\n");
(void) write(1, sbuf, strlen(sbuf));
OpenPOWER on IntegriCloud