Make cin be static
[oweals/busybox.git] / touch.c
diff --git a/touch.c b/touch.c
index 5537fb63bfec60f2107d13498ea4e771358cf552..1b03075e813f35837a61a9efc8c9f0f9253eecd1 100644 (file)
--- a/touch.c
+++ b/touch.c
@@ -58,12 +58,12 @@ extern int touch_main(int argc, char **argv)
                        if (create == FALSE && errno == ENOENT)
                                return EXIT_SUCCESS;
                        else {
-                               fatalError("%s", strerror(errno));
+                               perror_msg_and_die("%s", *argv);
                        }
                }
                close(fd);
                if (utime(*argv, NULL)) {
-                       fatalError("%s", strerror(errno));
+                       perror_msg_and_die("%s", *argv);
                }
                argc--;
                argv++;