]> Dogcows Code - chaz/tar/commitdiff
(decode_options): ERROR ((TAREXIT_FAILURE, ... -> FATAL_ERROR ((0,
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jul 1999 19:48:30 +0000 (19:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jul 1999 19:48:30 +0000 (19:48 +0000)
for consistency.

src/tar.c

index 04ad22a2cb0a22260d5f388bf876c82c25cfb3ab..1c9786a4fbbbe66050b6434bafa038d206da3ddd 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -822,7 +822,7 @@ decode_options (int argc, char *const *argv)
                && g == (gid_t) g)
              group_option = g;
            else
-             ERROR ((TAREXIT_FAILURE, 0, _("Invalid group given on option")));
+             FATAL_ERROR ((0, 0, _("Invalid group given on option")));
          }
        break;
 
@@ -831,9 +831,9 @@ decode_options (int argc, char *const *argv)
          = mode_compile (optarg,
                          MODE_MASK_EQUALS | MODE_MASK_PLUS | MODE_MASK_MINUS);
        if (mode_option == MODE_INVALID)
-         ERROR ((TAREXIT_FAILURE, 0, _("Invalid mode given on option")));
+         FATAL_ERROR ((0, 0, _("Invalid mode given on option")));
        if (mode_option == MODE_MEMORY_EXHAUSTED)
-         ERROR ((TAREXIT_FAILURE, 0, _("Memory exhausted")));
+         FATAL_ERROR ((0, 0, _("Memory exhausted")));
        break;
 
       case NO_RECURSE_OPTION:
@@ -853,7 +853,7 @@ decode_options (int argc, char *const *argv)
                && u == (uid_t) u)
              owner_option = u;
            else
-             ERROR ((TAREXIT_FAILURE, 0, _("Invalid owner given on option")));
+             FATAL_ERROR ((0, 0, _("Invalid owner given on option")));
          }
        break;
 
This page took 0.024355 seconds and 4 git commands to generate.