Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-12 21:02:35 +0400
committerMatt Kraai <kraai@debian.org>2000-07-12 21:02:35 +0400
commitbe84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch)
tree088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /touch.c
parente58771e73c0d8589a458ede4088f5ba70eff917b (diff)
Always report the applet name when doing error reporting.
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 f52bb0284..ac275423c 100644
--- a/touch.c
+++ b/touch.c
@@ -70,12 +70,12 @@ extern int touch_main(int argc, char **argv)
if (create == FALSE && errno == ENOENT)
exit(TRUE);
else {
- fatalError("touch: %s", strerror(errno));
+ fatalError("%s", strerror(errno));
}
}
close(fd);
if (utime(*argv, NULL)) {
- fatalError("touch: %s", strerror(errno));
+ fatalError("%s", strerror(errno));
}
argc--;
argv++;