aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 352515af4..44a551639 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -412,7 +412,7 @@ DIR *warn_opendir(const char *path)
412 DIR *dp; 412 DIR *dp;
413 413
414 if ((dp = opendir(path)) == NULL) { 414 if ((dp = opendir(path)) == NULL) {
415 bb_perror_msg("unable to open `%s'", path); 415 bb_perror_msg("cannot open '%s'", path);
416 return NULL; 416 return NULL;
417 } 417 }
418 return dp; 418 return dp;
@@ -424,7 +424,7 @@ DIR *xopendir(const char *path)
424 DIR *dp; 424 DIR *dp;
425 425
426 if ((dp = opendir(path)) == NULL) 426 if ((dp = opendir(path)) == NULL)
427 bb_perror_msg_and_die("unable to open `%s'", path); 427 bb_perror_msg_and_die("cannot open '%s'", path);
428 return dp; 428 return dp;
429} 429}
430 430