summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-01-08 03:00:42 +0000
committerpeter <peter@FreeBSD.org>1997-01-08 03:00:42 +0000
commit3e1646e9fb301499213fb6555a07577994a09cb3 (patch)
tree1efa4d42971310e9b3ea8d9b65e306a21724aa68 /sbin
parenta1fcadba79daa0920f65747ab752879bf2429494 (diff)
downloadFreeBSD-src-3e1646e9fb301499213fb6555a07577994a09cb3.zip
FreeBSD-src-3e1646e9fb301499213fb6555a07577994a09cb3.tar.gz
Fix double typo
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dump/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 6275168..62d1caf 100644
--- a/sbin/dump/main.c
+++ b/sbin/dump/main.c
@@ -257,7 +257,7 @@ main(argc, argv)
tape = index(host, ':');
*tape++ = '\0';
#ifdef RDUMP
- if (index(tape, "\n") {
+ if (index(tape, '\n')) {
(void)fprintf(stderr, "invalid characters in tape\n");
exit(X_ABORT);
}
OpenPOWER on IntegriCloud