maint: fix a masked syntax-check violation
authorJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 14:01:32 +0000 (16:01 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 14:02:27 +0000 (16:02 +0200)
* 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.

.x-sc_prohibit_magic_number_exit
m4/jm-macros.m4

index d4e20f9..62777c7 100644 (file)
@@ -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.])