summaryrefslogtreecommitdiffstats
path: root/sbin/dump/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dump/main.c')
-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