aboutsummaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-30 01:29:35 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-30 01:29:58 +0100
commit8f0a5fda41fd4542c2d8adcf61bde452cc721a22 (patch)
tree33a3f742c48feb7e5cc9be530912ec0ac870b5f4 /startup
parentc930206466747aa69be0d2d1383a3b98c30c7016 (diff)
downloadhurd-8f0a5fda41fd4542c2d8adcf61bde452cc721a22.tar.gz
hurd-8f0a5fda41fd4542c2d8adcf61bde452cc721a22.tar.bz2
hurd-8f0a5fda41fd4542c2d8adcf61bde452cc721a22.zip
startup: Do not emit ARGP_ERR_UNKNOWN
This is making startup completely ignore parameters when root= is passed first on the kernel command line.
Diffstat (limited to 'startup')
-rw-r--r--startup/startup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/startup/startup.c b/startup/startup.c
index 606555d2..53d46982 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -728,7 +728,6 @@ parse_opt (int key, char *arg, struct argp_state *state)
case OPT_KERNEL_TASK:
kernel_task = atoi (arg);
break;
- default: return ARGP_ERR_UNKNOWN;
}
return 0;
}