diff options
author | Eric Jackson <ericj@cvs.openbsd.org> | 2001-08-02 21:00:15 +0000 |
---|---|---|
committer | Eric Jackson <ericj@cvs.openbsd.org> | 2001-08-02 21:00:15 +0000 |
commit | 2561f719e247755bcef2f9cafa5f1c9e8edd41e4 (patch) | |
tree | aef762c03782c86796bc1bc924deb8dd94fdc0a1 /usr.bin | |
parent | ee06cf7ca12f074d556dc2b1e7acd183bcbe0835 (diff) |
fix diagnostic messages
from Dima Dorfman <dima@unixfreak.org>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/nc/netcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index 6c516428fde..3b3ae360a1a 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.31 2001/06/27 07:23:58 ericj Exp $ */ +/* $OpenBSD: netcat.c,v 1.32 2001/08/02 21:00:14 ericj Exp $ */ /* * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> * @@ -171,9 +171,9 @@ main(argc, argv) if (lflag && pflag) errx(1, "cannot use -p and -l"); if (lflag && zflag) - errx(1, "cannot use -p and -l"); + errx(1, "cannot use -z and -l"); if (!lflag && kflag) - errx(1, "must use -k with -l"); + errx(1, "must use -l with -k"); /* Initialize addrinfo structure */ memset(&hints, 0, sizeof(struct addrinfo)); |