cleanup error message
This commit is contained in:
parent
870447b902
commit
0717bdfdf2
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ifconfig.c,v 1.55 1999/07/26 11:56:55 darrenr Exp $ */
|
||||
/* $NetBSD: ifconfig.c,v 1.56 1999/07/26 12:00:47 darrenr Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -80,7 +80,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: ifconfig.c,v 1.55 1999/07/26 11:56:55 darrenr Exp $");
|
||||
__RCSID("$NetBSD: ifconfig.c,v 1.56 1999/07/26 12:00:47 darrenr Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -480,7 +480,7 @@ main(argc, argv)
|
|||
break;
|
||||
if (p->c_name == 0 && setaddr) {
|
||||
if (!(flags & IFF_POINTOPOINT)) {
|
||||
errx(1, "Can't set destination address %s\n",
|
||||
errx(1, "can't set destination address %s",
|
||||
"on non-point-to-point link");
|
||||
p++; /* got src, do dst */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue