summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/common/boot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c
index e4d0583..dfd400c 100644
--- a/sys/boot/common/boot.c
+++ b/sys/boot/common/boot.c
@@ -249,6 +249,8 @@ getbootfile(int try)
while ((try > 0) && (spec != NULL)) {
spec = strchr(spec, ';');
+ if (spec)
+ spec++; /* skip over the leading ';' */
try--;
}
if (spec != NULL) {
OpenPOWER on IntegriCloud