diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-08 07:11:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-08 07:11:12 +0000 |
commit | 13587cf0ec42e3fcf9ec0600705cc41dadd6a847 (patch) | |
tree | 6a1a28eb00498148ba6ca17f6ec84fe357017382 /src/dircolors.c | |
parent | deffd164df65fe7758856ec16d16df04538f2662 (diff) | |
download | coreutils-13587cf0ec42e3fcf9ec0600705cc41dadd6a847.tar.xz |
(xstrndup): Invoke xalloc_die instead of printing our own message.
Diffstat (limited to 'src/dircolors.c')
-rw-r--r-- | src/dircolors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dircolors.c b/src/dircolors.c index 2351e61b2..38e1c5071 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -126,7 +126,7 @@ xstrndup (const char *s, size_t n) { char *new = strndup (s, n); if (new == NULL) - error (EXIT_FAILURE, 0, _("virtual memory exhausted")); + xalloc_die (); return new; } |