diff options
Diffstat (limited to 'coreutils/watch.c')
-rw-r--r-- | coreutils/watch.c | 2 |
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) | |||
100 | //child | 100 | //child |
101 | dup2(old_stdout, STDOUT_FILENO); | 101 | dup2(old_stdout, STDOUT_FILENO); |
102 | execvp(*watched_argv, watched_argv); | 102 | execvp(*watched_argv, watched_argv); |
103 | bb_perror_msg_and_die(*watched_argv); | 103 | bb_perror_msg_and_die("%s", *watched_argv); |
104 | } else { | 104 | } else { |
105 | bb_perror_msg_and_die("vfork"); | 105 | bb_perror_msg_and_die("vfork"); |
106 | } | 106 | } |