diff options
Diffstat (limited to 'sbin/dump/main.c')
-rw-r--r-- | sbin/dump/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 3e6ed1f..3ec78fd1 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -290,7 +290,7 @@ main(int argc, char *argv[]) tape = strchr(host, ':'); *tape++ = '\0'; #ifdef RDUMP - if (index(tape, '\n')) { + if (strchr(tape, '\n')) { (void)fprintf(stderr, "invalid characters in tape\n"); exit(X_STARTUP); } |