diff options
| author | jschauma <jschauma@NetBSD.org> | 2023-02-14 18:56:10 +0000 |
|---|---|---|
| committer | jschauma <jschauma@NetBSD.org> | 2023-02-14 18:56:10 +0000 |
| commit | 6eb237f3a4c043d02ca28aef71b983479817eac9 (patch) | |
| tree | 630e8638be0a721c21eb85a8bbd90962f5d94be8 | |
| parent | f8e37b08c00441baf74dd2aae531bcfdd89d7e4c (diff) | |
exit with EXIT_FAILURE, not 1, as elsewhere
| -rw-r--r-- | share/misc/style | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/misc/style b/share/misc/style index c54c989af30..060f01f9eaf 100644 --- a/share/misc/style +++ b/share/misc/style @@ -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. |
