Source-Changes-HG archive

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

[src/trunk]: src/bin/chio no need for \n on errx



details:   https://anonhg.NetBSD.org/src/rev/cffc14826c63
branches:  trunk
changeset: 532616:cffc14826c63
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Jun 11 05:33:51 2002 +0000

description:
no need for \n on errx

diffstat:

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

diffs (27 lines):

diff -r 2ae8121c2e71 -r cffc14826c63 bin/chio/chio.c
--- a/bin/chio/chio.c   Tue Jun 11 05:17:30 2002 +0000
+++ b/bin/chio/chio.c   Tue Jun 11 05:33:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chio.c,v 1.18 2002/05/02 13:07:01 enami Exp $ */
+/* $NetBSD: chio.c,v 1.19 2002/06/11 05:33:51 itojun Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
 __COPYRIGHT(
 "@(#) Copyright (c) 1996, 1998, 1999\
        The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: chio.c,v 1.18 2002/05/02 13:07:01 enami Exp $");
+__RCSID("$NetBSD: chio.c,v 1.19 2002/06/11 05:33:51 itojun Exp $");
 #endif
 
 #include <sys/param.h>
@@ -599,7 +599,7 @@
                }
 
                if ((unit + ucount) > count)
-                       errx(1, "%s: unvalid unit/count %d/%d\n",
+                       errx(1, "%s: unvalid unit/count %d/%d",
                            cname, unit, ucount);
 
                size = ucount * sizeof(struct changer_element_status);



Home | Main Index | Thread Index | Old Index