diff options
author | Jim Meyering <meyering@redhat.com> | 2010-04-06 16:01:32 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-06 16:02:27 +0200 |
commit | f267926f2d3e51756a21b772b017f698c0a10f41 (patch) | |
tree | c6d89cc537facc30f5cf39ea7ae54bce37559e49 /m4 | |
parent | 6f6f5998679771e04f096fcf0d5d2f2c63286af2 (diff) | |
download | coreutils-f267926f2d3e51756a21b772b017f698c0a10f41.tar.xz |
maint: fix a masked syntax-check violation
* m4/jm-macros.m4 (ARGMATCH_DIE): Use usage(EXIT_FAILURE), not usage(1).
* .x-sc_prohibit_magic_number_exit: Remove *.m4 exemption that was
masking the above.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/jm-macros.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index d4e20f9c1..62777c7df 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -35,8 +35,8 @@ AC_DEFUN([coreutils_MACROS], AC_REQUIRE([AC_FUNC_FSEEKO]) - # By default, argmatch should fail calling usage (1). - AC_DEFINE([ARGMATCH_DIE], [usage (1)], + # By default, argmatch should fail calling usage (EXIT_FAILURE). + AC_DEFINE([ARGMATCH_DIE], [usage (EXIT_FAILURE)], [Define to the function xargmatch calls on failures.]) AC_DEFINE([ARGMATCH_DIE_DECL], [void usage (int _e)], [Define to the declaration of the xargmatch failure function.]) |