summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-06 22:31:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-06 22:31:18 +0200
commit44c117388a93f86b4d39af53cf191ddaea90f165 (patch)
tree060869df79cb461f704bcfa373c2e996f24d877b
parenteafefb0c7965a048f53ffa3f86ea1db2cf065c47 (diff)
Add forgotten newline to usage statement
-rw-r--r--src/randsleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/randsleep.c b/src/randsleep.c
index d06fb0a..389e3a7 100644
--- a/src/randsleep.c
+++ b/src/randsleep.c
@@ -7,8 +7,8 @@ int main (int argc, char **argv) {
long maxsleep;
struct timespec ntime;
- if (argc < 2) {
- fputs("Usage: randsleep <max> <cmd>", stdout);
+ if (argc <= 2) {
+ fputs("Usage: randsleep <max> <cmd>\n", stdout);
return 1;
}