aboutsummaryrefslogtreecommitdiff
path: root/touch.c
diff options
context:
space:
mode:
Diffstat (limited to 'touch.c')
-rw-r--r--touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/touch.c b/touch.c
index 5537fb63b..59800b2a0 100644
--- a/touch.c
+++ b/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 fatalError("%s", strerror(errno)); 61 error_msg_and_die("%s", strerror(errno));
62 } 62 }
63 } 63 }
64 close(fd); 64 close(fd);
65 if (utime(*argv, NULL)) { 65 if (utime(*argv, NULL)) {
66 fatalError("%s", strerror(errno)); 66 error_msg_and_die("%s", strerror(errno));
67 } 67 }
68 argc--; 68 argc--;
69 argv++; 69 argv++;