aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/watch.c b/coreutils/watch.c
index 9da591b48..9e0c54c7f 100644
--- a/coreutils/watch.c
+++ b/coreutils/watch.c
@@ -100,7 +100,7 @@ int watch_main(int argc, char **argv)
//child
dup2(old_stdout, STDOUT_FILENO);
execvp(*watched_argv, watched_argv);
- bb_perror_msg_and_die(*watched_argv);
+ bb_perror_msg_and_die("%s", *watched_argv);
} else {
bb_perror_msg_and_die("vfork");
}