projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d681dd7
)
(main): Invoke xalloc_die instead of printing our own message.
author
Jim Meyering
<jim@meyering.net>
Tue, 8 Aug 2000 07:07:55 +0000
(07:07 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 8 Aug 2000 07:07:55 +0000
(07:07 +0000)
src/chmod.c
patch
|
blob
|
history
diff --git
a/src/chmod.c
b/src/chmod.c
index a7b335a8a39ea346e5f00c0bff1dd941d4c0c555..2e2cbaad1bc0ec4027acbac6bf5e983ed86a076a 100644
(file)
--- 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));