X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fparser.c;h=d1cdb43b632cab6255c7bc4c70ab9fdc1952ae78;hp=b9edff7b4fa01160d4824600f6d61d76ed96da34;hb=5395466a3522eccf73e2f617dc4a18bff98b290f;hpb=678dbd282f917c68c4fd6badfc14fcf464796f5d diff --git a/devices/parser.c b/devices/parser.c index b9edff7..d1cdb43 100644 --- a/devices/parser.c +++ b/devices/parser.c @@ -27,7 +27,7 @@ void iterate_parsers(const char *devpath, const char *mountpoint) pb_log("\ttrying parser '%s'\n", parsers[i]->name); /* just use a dummy device path for now */ if (parsers[i]->parse(devpath, mountpoint)) - /*return*/; + return; } pb_log("\tno boot_options found\n"); }