diff options
author | Jim Meyering <jim@meyering.net> | 2005-06-14 09:44:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-06-14 09:44:54 +0000 |
commit | f23e1c18a8f78bbac47df3299b6d1241fe00d7ff (patch) | |
tree | 71021c19bd4fa4a34975c9e66bc5daaeebb8a6ab /lib/openat-die.c | |
parent | e6b19a22451ece43fbc38bdc6d2068108d7edee6 (diff) | |
download | coreutils-f23e1c18a8f78bbac47df3299b6d1241fe00d7ff.tar.xz |
(openat_save_fail): Rename from openat_save_die.
(openat_restore_fail): Rename from openat_restore_die.
Diffstat (limited to 'lib/openat-die.c')
-rw-r--r-- | lib/openat-die.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/openat-die.c b/lib/openat-die.c index 7247ab2b7..f7cc15dbc 100644 --- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -30,20 +30,20 @@ #define N_(msgid) msgid void -openat_save_die (int errno) +openat_save_fail (int errno) { error (exit_failure, errno, _("unable to record current working directory")); /* The `noreturn' attribute cannot be applied to error, since it returns - when its first argument is 0. To help compilers understand the - xalloc_die does not return, call abort. Also, the abort is a + when its first argument is 0. To help compilers understand that this + function does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */ abort (); } void -openat_restore_die (int errno) +openat_restore_fail (int errno) { error (exit_failure, errno, _("failed to return to initial working directory")); |