diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/start-stop-daemon.c | 4 | ||||
-rw-r--r-- | src/rc/supervise-daemon.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index 007a9309..50452988 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -80,7 +80,7 @@ const struct option longopts[] = { { "ionice", 1, NULL, 'I'}, { "stop", 0, NULL, 'K'}, { "nicelevel", 1, NULL, 'N'}, - { "oom-score-adj",1, NULL,0x80}, + { "oom-score-adj",1, NULL, 0x103}, { "retry", 1, NULL, 'R'}, { "start", 0, NULL, 'S'}, { "startas", 1, NULL, 'a'}, @@ -424,7 +424,7 @@ int main(int argc, char **argv) applet, optarg); break; - case 0x80: /* --oom-score-adj */ + case 0x103: /* --oom-score-adj */ if (sscanf(optarg, "%d", &oom_score_adj) != 1) eerrorx("%s: invalid oom-score-adj `%s'", applet, optarg); diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index 85d5efbb..0705cb96 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -90,7 +90,7 @@ const struct option longopts[] = { { "umask", 1, NULL, 'k'}, { "respawn-max", 1, NULL, 'm'}, { "nicelevel", 1, NULL, 'N'}, - { "oom-score-adj",1, NULL,0x80}, + { "oom-score-adj",1, NULL, 0x103}, { "pidfile", 1, NULL, 'p'}, { "respawn-period", 1, NULL, 'P'}, { "retry", 1, NULL, 'R'}, @@ -902,7 +902,7 @@ int main(int argc, char **argv) applet, optarg); break; - case 0x80: /* --oom-score-adj */ + case 0x103: /* --oom-score-adj */ if (sscanf(optarg, "%d", &oom_score_adj) != 1) eerrorx("%s: invalid oom-score-adj `%s'", applet, optarg); |