From 3b665a45198b710efbcaea82ccca01e9d66414ac Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 4 May 1996 09:15:04 +0000 Subject: [PATCH] call errx instead of err --- usr.bin/getconf/getconf.1 | 9 +++++++-- usr.bin/getconf/getconf.c | 11 +++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/usr.bin/getconf/getconf.1 b/usr.bin/getconf/getconf.1 index 84f4171eea2..1704edc17a6 100644 --- a/usr.bin/getconf/getconf.1 +++ b/usr.bin/getconf/getconf.1 @@ -1,6 +1,11 @@ -.\" Copyright (c) 1994 Winning Strategies, Inc. +.\" $NetBSD: getconf.1,v 1.2 1996/04/20 01:15:12 jtc Exp $ +.\" +.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. .\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by J.T. Conklin. +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -26,7 +31,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: getconf.1,v 1.1.1.1 1995/10/18 08:45:19 deraadt Exp $ +.\" $Id: getconf.1,v 1.2 1996/05/04 09:15:04 deraadt Exp $ .\" .Dd June 24, 1994 .Dt GETCONF 1 diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c index b1f7f38fdd2..40170cc9764 100644 --- a/usr.bin/getconf/getconf.c +++ b/usr.bin/getconf/getconf.c @@ -1,7 +1,10 @@ -/* - * Copyright (c) 1994 Winning Strategies, Inc. +/*- + * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * + * This code is derived from software contributed to The NetBSD Foundation + * by J.T. Conklin. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -36,7 +39,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: getconf.c,v 1.1.1.1 1995/10/18 08:45:19 deraadt Exp $"; +static char rcsid[] = "$Id: getconf.c,v 1.2 1996/05/04 09:15:06 deraadt Exp $"; #endif /* not lint */ #include @@ -167,7 +170,7 @@ main(argc, argv) break; } if (cp->name == NULL) { - err(1, "%s: unknown variable", *argv); + errx(1, "%s: unknown variable", *argv); /* NOTREACHED */ } -- 2.20.1