diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-08 07:12:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-08 07:12:24 +0000 |
commit | b99ee65d9feb6e7020b5afc6b670d77c83c6a5b4 (patch) | |
tree | 395ab4a53adea7e60b426f643a26b27bbca2b9bd | |
parent | b2557211cb23035c7aafc0311c15b05b214a8352 (diff) | |
download | coreutils-b99ee65d9feb6e7020b5afc6b670d77c83c6a5b4.tar.xz |
(main): Invoke xalloc_die instead of printing our own message.
-rw-r--r-- | src/mkdir.c | 2 | ||||
-rw-r--r-- | src/mkfifo.c | 2 | ||||
-rw-r--r-- | src/mknod.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index 050421e0f..e1d3c5fbf 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -131,7 +131,7 @@ main (int argc, char **argv) if (change == MODE_INVALID) error (1, 0, _("invalid mode %s"), quote (symbolic_mode)); else if (change == MODE_MEMORY_EXHAUSTED) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); newmode = mode_adjust (newmode, change); } diff --git a/src/mkfifo.c b/src/mkfifo.c index 886ce7bbd..ec933ee8a 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -122,7 +122,7 @@ main (int argc, char **argv) if (change == MODE_INVALID) error (1, 0, _("invalid mode")); else if (change == MODE_MEMORY_EXHAUSTED) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); newmode = mode_adjust (newmode, change); } diff --git a/src/mknod.c b/src/mknod.c index d85355d7a..c17b9fdda 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -125,7 +125,7 @@ main (int argc, char **argv) if (change == MODE_INVALID) error (1, 0, _("invalid mode")); else if (change == MODE_MEMORY_EXHAUSTED) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); newmode = mode_adjust (newmode, change); } |