summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-14 09:46:24 +0000
committerJim Meyering <jim@meyering.net>2005-06-14 09:46:24 +0000
commitb95fca684c2ec0ddb41f923409d2ba662cd651d2 (patch)
tree62e0b9edb61eda40193e9f78f63935d60e7a3913 /lib
parentf23e1c18a8f78bbac47df3299b6d1241fe00d7ff (diff)
downloadcoreutils-b95fca684c2ec0ddb41f923409d2ba662cd651d2.tar.xz
Reflect s/_die/_fail/ renaming.
Diffstat (limited to 'lib')
-rw-r--r--lib/openat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/openat.c b/lib/openat.c
index 495f4b2f3..8908931b2 100644
--- a/lib/openat.c
+++ b/lib/openat.c
@@ -65,7 +65,7 @@ rpl_openat (int fd, char const *file, int flags, ...)
return open (file, flags, mode);
if (save_cwd (&saved_cwd) != 0)
- openat_save_die (errno);
+ openat_save_fail (errno);
if (fchdir (fd) != 0)
{
@@ -79,7 +79,7 @@ rpl_openat (int fd, char const *file, int flags, ...)
saved_errno = errno;
if (restore_cwd (&saved_cwd) != 0)
- openat_restore_die (errno);
+ openat_restore_fail (errno);
free_cwd (&saved_cwd);
@@ -105,7 +105,7 @@ fdopendir (int fd)
return opendir (".");
if (save_cwd (&saved_cwd) != 0)
- openat_save_die (errno);
+ openat_save_fail (errno);
if (fchdir (fd) != 0)
{
@@ -119,7 +119,7 @@ fdopendir (int fd)
saved_errno = errno;
if (restore_cwd (&saved_cwd) != 0)
- openat_restore_die (errno);
+ openat_restore_fail (errno);
free_cwd (&saved_cwd);
@@ -147,7 +147,7 @@ fstatat (int fd, char const *file, struct stat *st, int flag)
: stat (file, st));
if (save_cwd (&saved_cwd) != 0)
- openat_save_die (errno);
+ openat_save_fail (errno);
if (fchdir (fd) != 0)
{
@@ -163,7 +163,7 @@ fstatat (int fd, char const *file, struct stat *st, int flag)
saved_errno = errno;
if (restore_cwd (&saved_cwd) != 0)
- openat_restore_die (errno);
+ openat_restore_fail (errno);
free_cwd (&saved_cwd);