diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-08 07:07:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-08 07:07:55 +0000 |
commit | 8180fd9209bcbb585952881c7fd04d2e322519c5 (patch) | |
tree | 61cbf669f0bb6a0e5fa28d4c123e94bbc85982f2 /src/chmod.c | |
parent | d681dd75249ef57baaeda5e463401f441d237131 (diff) | |
download | coreutils-8180fd9209bcbb585952881c7fd04d2e322519c5.tar.xz |
(main): Invoke xalloc_die instead of printing our own message.
Diffstat (limited to 'src/chmod.c')
-rw-r--r-- | src/chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chmod.c b/src/chmod.c index a7b335a8a..2e2cbaad1 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -353,7 +353,7 @@ main (int argc, char **argv) if (changes == MODE_INVALID) error (1, 0, _("invalid mode")); else if (changes == MODE_MEMORY_EXHAUSTED) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); else if (changes == MODE_BAD_REFERENCE) error (1, errno, _("getting attributes of %s"), quote (reference_file)); |