diff options
Diffstat (limited to 'coreutils/libcoreutils/cp_mv_stat.c')
-rw-r--r-- | coreutils/libcoreutils/cp_mv_stat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/coreutils/libcoreutils/cp_mv_stat.c b/coreutils/libcoreutils/cp_mv_stat.c index d401bcc75..0849ebc6c 100644 --- a/coreutils/libcoreutils/cp_mv_stat.c +++ b/coreutils/libcoreutils/cp_mv_stat.c | |||
@@ -20,8 +20,6 @@ | |||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include <errno.h> | ||
24 | #include <sys/stat.h> | ||
25 | #include "libbb.h" | 23 | #include "libbb.h" |
26 | #include "coreutils.h" | 24 | #include "coreutils.h" |
27 | 25 | ||
@@ -29,7 +27,7 @@ int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) | |||
29 | { | 27 | { |
30 | if (sf(fn, fn_stat) < 0) { | 28 | if (sf(fn, fn_stat) < 0) { |
31 | if (errno != ENOENT) { | 29 | if (errno != ENOENT) { |
32 | bb_perror_msg("unable to stat `%s'", fn); | 30 | bb_perror_msg("unable to stat '%s'", fn); |
33 | return -1; | 31 | return -1; |
34 | } | 32 | } |
35 | return 0; | 33 | return 0; |