Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/netstat user err() not errx()



details:   https://anonhg.NetBSD.org/src/rev/909c1c9189f3
branches:  trunk
changeset: 468016:909c1c9189f3
user:      chopps <chopps%NetBSD.org@localhost>
date:      Thu Apr 01 23:12:30 1999 +0000

description:
user err() not errx()

diffstat:

 usr.bin/netstat/route.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 722ca8f3841e -r 909c1c9189f3 usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c   Thu Apr 01 21:46:28 1999 +0000
+++ b/usr.bin/netstat/route.c   Thu Apr 01 23:12:30 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.35 1999/04/01 08:14:11 chopps Exp $        */
+/*     $NetBSD: route.c,v 1.36 1999/04/01 23:12:30 chopps Exp $        */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "from: @(#)route.c      8.3 (Berkeley) 3/9/94";
 #else
-__RCSID("$NetBSD: route.c,v 1.35 1999/04/01 08:14:11 chopps Exp $");
+__RCSID("$NetBSD: route.c,v 1.36 1999/04/01 23:12:30 chopps Exp $");
 #endif
 #endif /* not lint */
 
@@ -516,7 +516,7 @@
        else
                len = sp->sa_len;
        if ((dp = malloc(len)) == 0)
-               errx(1, "sockdup");
+               err(1, "sockdup");
        if (salen)
                memcpy(dp, sp, salen);
        if (len > salen)



Home | Main Index | Thread Index | Old Index