diff options
Diffstat (limited to 'coreutils/libcoreutils')
| -rw-r--r-- | coreutils/libcoreutils/cp_mv_stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/libcoreutils/cp_mv_stat.c b/coreutils/libcoreutils/cp_mv_stat.c index 0fd467c30..5ba07ecc3 100644 --- a/coreutils/libcoreutils/cp_mv_stat.c +++ b/coreutils/libcoreutils/cp_mv_stat.c | |||
| @@ -29,11 +29,11 @@ int FAST_FUNC cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) | |||
| 29 | if (errno != ENOENT) { | 29 | if (errno != ENOENT) { |
| 30 | #if ENABLE_FEATURE_VERBOSE_CP_MESSAGE | 30 | #if ENABLE_FEATURE_VERBOSE_CP_MESSAGE |
| 31 | if (errno == ENOTDIR) { | 31 | if (errno == ENOTDIR) { |
| 32 | bb_error_msg("cannot stat '%s': Path has non-directory component", fn); | 32 | bb_error_msg("can't stat '%s': Path has non-directory component", fn); |
| 33 | return -1; | 33 | return -1; |
| 34 | } | 34 | } |
| 35 | #endif | 35 | #endif |
| 36 | bb_perror_msg("cannot stat '%s'", fn); | 36 | bb_perror_msg("can't stat '%s'", fn); |
| 37 | return -1; | 37 | return -1; |
| 38 | } | 38 | } |
| 39 | return 0; | 39 | return 0; |
