summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usr.bin/nc/netcat.c6
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));