diff options
-rw-r--r-- | usr.sbin/traceroute/traceroute.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c index 97968d8096a..48fdf24f5b8 100644 --- a/usr.sbin/traceroute/traceroute.c +++ b/usr.sbin/traceroute/traceroute.c @@ -1,5 +1,5 @@ /* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */ -/* $OpenBSD: traceroute.c,v 1.18 1997/06/09 21:31:01 deraadt Exp $ */ +/* $OpenBSD: traceroute.c,v 1.19 1997/06/09 21:55:19 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -367,7 +367,8 @@ main(argc, argv) pent = getprotobyname(optarg); if (pent) proto = pent->p_proto; - errx(1, "proto must be >=0, or a name."); + else + errx(1, "proto must be >=0, or a name."); } break; case 'q': |