Source-Changes-HG archive

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

[src/trunk]: src/regress/sys/kern/sysvmsg oops, err() -> errx() in a couple o...



details:   https://anonhg.NetBSD.org/src/rev/acbda07a9e7b
branches:  trunk
changeset: 475738:acbda07a9e7b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Aug 24 22:26:49 1999 +0000

description:
oops, err() -> errx() in a couple of places.

diffstat:

 regress/sys/kern/sysvmsg/msgtest.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 78e85c2bec1b -r acbda07a9e7b regress/sys/kern/sysvmsg/msgtest.c
--- a/regress/sys/kern/sysvmsg/msgtest.c        Tue Aug 24 22:08:56 1999 +0000
+++ b/regress/sys/kern/sysvmsg/msgtest.c        Tue Aug 24 22:26:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msgtest.c,v 1.1 1999/08/24 22:08:56 thorpej Exp $      */
+/*     $NetBSD: msgtest.c,v 1.2 1999/08/24 22:26:49 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -283,13 +283,13 @@
         */
 
        if (mp->msg_perm.uid != uid || mp->msg_perm.cuid != uid)
-               err(1, "uid mismatch");
+               errx(1, "uid mismatch");
 
        if (mp->msg_perm.gid != gid || mp->msg_perm.cgid != gid)
-               err(1, "gid mismatch");
+               errx(1, "gid mismatch");
 
        if (mp->msg_perm.mode != mode)
-               err(1, "mode mismatch");
+               errx(1, "mode mismatch");
 }
 
 void



Home | Main Index | Thread Index | Old Index