Module Name:    src
Committed By:   jschauma
Date:           Tue Feb 14 18:56:10 UTC 2023

Modified Files:
        src/share/misc: style

Log Message:
exit with EXIT_FAILURE, not 1, as elsewhere


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/share/misc/style

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/misc/style
diff -u src/share/misc/style:1.67 src/share/misc/style:1.68
--- src/share/misc/style:1.67	Fri Dec 30 21:12:44 2022
+++ src/share/misc/style	Tue Feb 14 18:56:10 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.67 2022/12/30 21:12:44 jkoshy Exp $ */
+/* $NetBSD: style,v 1.68 2023/02/14 18:56:10 jschauma Exp $ */
 
 /*
  * The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: style,v 1.67 2022/12/30 21:12:44 jkoshy Exp $");
+__RCSID("$NetBSD: style,v 1.68 2023/02/14 18:56:10 jschauma Exp $");
 
 /*
  * VERY important single-line comments look like this.
@@ -307,7 +307,7 @@ main(int argc, char *argv[])
 
 	/* No spaces after function names. */
 	if ((result = function(a1, a2, a3, a4)) == NULL)
-		exit(1);
+		exit(EXIT_FAILURE);
 
 	/*
 	 * Unary operators don't require spaces, binary operators do.

Reply via email to