aboutsummaryrefslogtreecommitdiff
path: root/coreutils/touch.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-12-18 03:08:29 +0000
committerMatt Kraai <kraai@debian.org>2000-12-18 03:08:29 +0000
commit0dab82997777bffb95d01d68e1628ee79207a03d (patch)
treecd56722ced55fd4b08049a0717cbbb9df5e9113f /coreutils/touch.c
parentbfa7967c4a18c9a7addbe853cf9f736ac34b4e5b (diff)
downloadbusybox-w32-0dab82997777bffb95d01d68e1628ee79207a03d.tar.gz
busybox-w32-0dab82997777bffb95d01d68e1628ee79207a03d.tar.bz2
busybox-w32-0dab82997777bffb95d01d68e1628ee79207a03d.zip
Add missing newlines to error messages.
Diffstat (limited to 'coreutils/touch.c')
-rw-r--r--coreutils/touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/touch.c b/coreutils/touch.c
index 59800b2a0..1b03075e8 100644
--- a/coreutils/touch.c
+++ b/coreutils/touch.c
@@ -58,12 +58,12 @@ extern int touch_main(int argc, char **argv)
58 if (create == FALSE && errno == ENOENT) 58 if (create == FALSE && errno == ENOENT)
59 return EXIT_SUCCESS; 59 return EXIT_SUCCESS;
60 else { 60 else {
61 error_msg_and_die("%s", strerror(errno)); 61 perror_msg_and_die("%s", *argv);
62 } 62 }
63 } 63 }
64 close(fd); 64 close(fd);
65 if (utime(*argv, NULL)) { 65 if (utime(*argv, NULL)) {
66 error_msg_and_die("%s", strerror(errno)); 66 perror_msg_and_die("%s", *argv);
67 } 67 }
68 argc--; 68 argc--;
69 argv++; 69 argv++;