summaryrefslogtreecommitdiff
path: root/libbb/xgetcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xgetcwd.c')
-rw-r--r--libbb/xgetcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xgetcwd.c b/libbb/xgetcwd.c
index 7f9088b..f4e7689 100644
--- a/libbb/xgetcwd.c
+++ b/libbb/xgetcwd.c
@@ -33,7 +33,7 @@ xrealloc_getcwd_or_warn(char *cwd)
if (errno == ERANGE)
continue;
free(cwd);
- bb_perror_msg("getcwd");
+ bb_simple_perror_msg("getcwd");
return NULL;
}
cwd = xrealloc(cwd, strlen(cwd) + 1);