From 0cd445f4d1ff322051ca2ad869e8757bb5ac2227 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 6 Feb 2010 21:11:49 +0100 Subject: cosmetic fixes Signed-off-by: Denys Vlasenko --- libbb/copy_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb/copy_file.c') diff --git a/libbb/copy_file.c b/libbb/copy_file.c index 6c64fab16..ed765d8f0 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c @@ -316,9 +316,9 @@ int FAST_FUNC copy_file(const char *source, const char *dest, int flags) #endif if (bb_copyfd_eof(src_fd, dst_fd) == -1) retval = -1; - /* Ok, writing side I can understand... */ + /* Careful with writing... */ if (close(dst_fd) < 0) { - bb_perror_msg("can't close '%s'", dest); + bb_perror_msg("error writing to '%s'", dest); retval = -1; } /* ...but read size is already checked by bb_copyfd_eof */ -- cgit v1.2.3