X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fparser.c;h=00f36598f0e25e4431feab15cf2cc67c3bd447ba;hp=d1cdb43b632cab6255c7bc4c70ab9fdc1952ae78;hb=7d7c328016aca3e14aee6268a2e7881d3440e226;hpb=c24a319cec4c563845ddfe269ed7f2d9b962d922 diff --git a/devices/parser.c b/devices/parser.c index d1cdb43..00f3659 100644 --- a/devices/parser.c +++ b/devices/parser.c @@ -21,12 +21,12 @@ void iterate_parsers(const char *devpath, const char *mountpoint) { int i; - pb_log("trying parsers for %s@%s\n", devpath, mountpoint); + pb_log("trying parsers for %s\n", devpath); for (i = 0; parsers[i]; i++) { pb_log("\ttrying parser '%s'\n", parsers[i]->name); /* just use a dummy device path for now */ - if (parsers[i]->parse(devpath, mountpoint)) + if (parsers[i]->parse(devpath, mountpoint_for_device(devpath))) return; } pb_log("\tno boot_options found\n");