Source-Changes-HG archive

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

[src/trunk]: src/share/misc Fix error in example - from VaX#n8 <vax@linkdead....



details:   https://anonhg.NetBSD.org/src/rev/4509f19fd2e7
branches:  trunk
changeset: 474334:4509f19fd2e7
user:      abs <abs%NetBSD.org@localhost>
date:      Sat Jul 03 21:47:21 1999 +0000

description:
Fix error in example - from VaX#n8 <vax%linkdead.paranoia.com@localhost>

diffstat:

 share/misc/style |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 91581fc3b975 -r 4509f19fd2e7 share/misc/style
--- a/share/misc/style  Sat Jul 03 21:24:45 1999 +0000
+++ b/share/misc/style  Sat Jul 03 21:47:21 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: style,v 1.10 1999/01/29 07:24:20 scottr Exp $  */
+/*     $NetBSD: style,v 1.11 1999/07/03 21:47:21 abs Exp $     */
 
 /*
  * Style guide for the 4BSD KNF (Kernel Normal Form).
@@ -141,7 +141,7 @@
                case 'n':
                        num = strtol(optarg, &ep, 10);
                         if (num <= 0 || *ep != '\0')
-                                err("illegal number -- %s", optarg);
+                                err(1,"illegal number -- %s", optarg);
                        break;
                case '?':
                default:



Home | Main Index | Thread Index | Old Index