diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-19 10:49:49 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-19 10:49:49 +0200 |
commit | 7907e3ee7302ac3fd428989a07b0df74f0c52853 (patch) | |
tree | e6de18488a687707667927065724372b40510d65 /package/openntpd/patches/patch-ntpd_c | |
parent | b70fdbfbf1139605c22083b647337f2b16f62fc3 (diff) | |
parent | 61355d1f054c15673adeb62d32dfd4563f89c165 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openntpd/patches/patch-ntpd_c')
-rw-r--r-- | package/openntpd/patches/patch-ntpd_c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/openntpd/patches/patch-ntpd_c b/package/openntpd/patches/patch-ntpd_c new file mode 100644 index 000000000..0841ca4e9 --- /dev/null +++ b/package/openntpd/patches/patch-ntpd_c @@ -0,0 +1,27 @@ +--- openntpd-3.9p1.orig/ntpd.c 2006-05-14 07:29:23.000000000 +0200 ++++ openntpd-3.9p1/ntpd.c 2010-07-02 14:21:47.473356095 +0200 +@@ -73,7 +73,7 @@ usage(void) + { + extern char *__progname; + +- fprintf(stderr, "usage: %s [-dSs] [-f file]\n", __progname); ++ fprintf(stderr, "usage: %s [-diSs] [-f file]\n", __progname); + exit(1); + } + +@@ -100,11 +100,14 @@ main(int argc, char *argv[]) + log_init(1); /* log to stderr until daemonized */ + res_init(); /* XXX */ + +- while ((ch = getopt(argc, argv, "df:sS")) != -1) { ++ while ((ch = getopt(argc, argv, "dif:sS")) != -1) { + switch (ch) { + case 'd': + conf.debug = 1; + break; ++ case 'i': ++ conf.ignore = 1; ++ break; + case 'f': + conffile = optarg; + break; |