Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/nl nl(1): remove superfluous exit
details: https://anonhg.NetBSD.org/src/rev/544e10a781a7
branches: trunk
changeset: 948248:544e10a781a7
user: ginsbach <ginsbach%NetBSD.org@localhost>
date: Tue Dec 22 17:50:55 2020 +0000
description:
nl(1): remove superfluous exit
Remove exit(3) call missed when errors were converted to errx(3).
diffstat:
usr.bin/nl/nl.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f51df4b45742 -r 544e10a781a7 usr.bin/nl/nl.c
--- a/usr.bin/nl/nl.c Tue Dec 22 13:07:32 2020 +0000
+++ b/usr.bin/nl/nl.c Tue Dec 22 17:50:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nl.c,v 1.12 2013/09/17 20:00:50 wiz Exp $ */
+/* $NetBSD: nl.c,v 1.13 2020/12/22 17:50:55 ginsbach Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1999\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: nl.c,v 1.12 2013/09/17 20:00:50 wiz Exp $");
+__RCSID("$NetBSD: nl.c,v 1.13 2020/12/22 17:50:55 ginsbach Exp $");
#endif
#include <errno.h>
@@ -392,7 +392,6 @@
errx(EXIT_FAILURE,
"illegal %s line numbering type -- %s",
numbering_properties[section].name, argstr);
- exit(EXIT_FAILURE);
}
}
Home |
Main Index |
Thread Index |
Old Index