diff options
author | ericj <> | 2001-08-02 21:00:14 +0000 |
---|---|---|
committer | ericj <> | 2001-08-02 21:00:14 +0000 |
commit | 19c29768b04d5aca81d177130edf14c937e44672 (patch) | |
tree | ab318840ab7b8989e71aa3a295fa498c7a811bf2 | |
parent | 7379fdf8b0ae4382c58a976141541d875f9ca8ce (diff) | |
download | openbsd-19c29768b04d5aca81d177130edf14c937e44672.tar.gz openbsd-19c29768b04d5aca81d177130edf14c937e44672.tar.bz2 openbsd-19c29768b04d5aca81d177130edf14c937e44672.zip |
fix diagnostic messages
from Dima Dorfman <dima@unixfreak.org>
-rw-r--r-- | src/usr.bin/nc/netcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index 6c516428fd..3b3ae360a1 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: netcat.c,v 1.31 2001/06/27 07:23:58 ericj Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.32 2001/08/02 21:00:14 ericj Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
4 | * | 4 | * |
@@ -171,9 +171,9 @@ main(argc, argv) | |||
171 | if (lflag && pflag) | 171 | if (lflag && pflag) |
172 | errx(1, "cannot use -p and -l"); | 172 | errx(1, "cannot use -p and -l"); |
173 | if (lflag && zflag) | 173 | if (lflag && zflag) |
174 | errx(1, "cannot use -p and -l"); | 174 | errx(1, "cannot use -z and -l"); |
175 | if (!lflag && kflag) | 175 | if (!lflag && kflag) |
176 | errx(1, "must use -k with -l"); | 176 | errx(1, "must use -l with -k"); |
177 | 177 | ||
178 | /* Initialize addrinfo structure */ | 178 | /* Initialize addrinfo structure */ |
179 | memset(&hints, 0, sizeof(struct addrinfo)); | 179 | memset(&hints, 0, sizeof(struct addrinfo)); |