summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/pnp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/pnp.c b/sys/boot/common/pnp.c
index f0f67c4..21c07a2 100644
--- a/sys/boot/common/pnp.c
+++ b/sys/boot/common/pnp.c
@@ -104,7 +104,7 @@ pnp_load(int argc, char *argv[])
pnp_readconf("/boot/pnpdata.local");
pnp_readconf("/boot/pnpdata");
} else {
- if (pnp_readconf("fname")) {
+ if (pnp_readconf(fname)) {
sprintf(command_errbuf, "can't read PnP information from '%s'", fname);
return(CMD_ERROR);
}
OpenPOWER on IntegriCloud