X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fudev-helper.c;fp=devices%2Fudev-helper.c;h=1db8a26d6beb9025903e768356742fc9b9fdf0d5;hp=da12129316142814462162674d4e7aabdd69513f;hb=0ad5daa6572ad340244998f8f2243905d8f3974f;hpb=f6de8493cf6645f8da027671f935cf22f8008a1b diff --git a/devices/udev-helper.c b/devices/udev-helper.c index da12129..1db8a26 100644 --- a/devices/udev-helper.c +++ b/devices/udev-helper.c @@ -26,6 +26,7 @@ extern struct parser native_parser; extern struct parser yaboot_parser; +extern struct parser kboot_parser; static FILE *logf; static int sock; @@ -33,6 +34,7 @@ static int sock; static struct parser *parsers[] = { &native_parser, &yaboot_parser, + &kboot_parser, NULL }; @@ -48,7 +50,7 @@ static void iterate_parsers(const char *devpath, const char *mountpoint) log("\ttrying parser '%s'\n", parsers[i]->name); /* just use a dummy device path for now */ if (parsers[i]->parse(devpath, mountpoint)) - return; + /*return*/; } log("\tno boot_options found\n"); }