aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2010-02-05 05:46:41 +0000
committerDimitri Sokolyuk <demon@dim13.org>2010-02-05 05:46:41 +0000
commit2e8b53638b2e684bc831a3ccba303237e8853d48 (patch)
tree5015167f9480f0a19e0d98af2d42885157ac3e37
parenta1b4f96f60455f8daf1f6550b22b32324c899f0d (diff)
fix typo
-rw-r--r--watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/watch.c b/watch.c
index 43ada5d..aae87a8 100644
--- a/watch.c
+++ b/watch.c
@@ -21,8 +21,8 @@ static const char rcsid[] =
#endif /* not lint */
/* version */
-const int minor = 2;
-const int major = 1;
+const int major = 2;
+const int minor = 1;
#include <sys/ioctl.h>
#include <sys/time.h>
@@ -110,7 +110,7 @@ main(int argc, char **argv)
break;
case 'v':
(void)fprintf(stderr, "%s %d.%d\n",
- __progname, minor, major);
+ __progname, major, minor);
exit(1);
break;
case 'h':