diff vd_watchdog/vd_watchdog.c @ 2:89e9d591748d

Fix bug of usage for vd_watchdog, and add Makefile
author Thinker K.F. Li <thinker@branda.to>
date Tue, 08 Jul 2008 11:17:01 +0800
parents 0b9854adb86c
children 60a234c9c03f
line wrap: on
line diff
--- a/vd_watchdog/vd_watchdog.c	Tue Jul 08 11:07:31 2008 +0800
+++ b/vd_watchdog/vd_watchdog.c	Tue Jul 08 11:17:01 2008 +0800
@@ -71,7 +71,7 @@
 
 static void
 usage(const char *prog) {
-    fprintf(stderr, "Usage: %s [-msMH] <timeout>\n");
+    fprintf(stderr, "Usage: %s [-msMH] <timeout>\n", prog);
     fprintf(stderr, "\t-s\tcount in seconds.\n");
     fprintf(stderr, "\t-M\tcount in minutes.\n");
     fprintf(stderr, "\t-m\tcount in hours.\n");