diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-09 21:55:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-09 21:55:20 +0000 |
commit | 6c6d3781af9d5bb7d6c67c6be0cf098efa569db3 (patch) | |
tree | 3f9755f47494779aa1b49a8c00c683c70fda052c /usr.sbin/traceroute/traceroute.c | |
parent | 1fd93d1fa514c975dec7576962518a877640c652 (diff) |
oops
Diffstat (limited to 'usr.sbin/traceroute/traceroute.c')
-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': |