aboutsummaryrefslogtreecommitdiff
path: root/stand/common/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/common/commands.c')
-rw-r--r--stand/common/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/common/commands.c b/stand/common/commands.c
index d86c1a4a6f96..6643a3ca360e 100644
--- a/stand/common/commands.c
+++ b/stand/common/commands.c
@@ -123,7 +123,6 @@ help_emitsummary(char *topic, char *subtopic, char *desc)
return (pager_output("\n"));
}
-
static int
command_help(int argc, char *argv[])
{
@@ -132,7 +131,8 @@ command_help(int argc, char *argv[])
char *topic, *subtopic, *t, *s, *d;
/* page the help text from our load path */
- snprintf(buf, sizeof(buf), "%s/boot/loader.help", getenv("loaddev"));
+ snprintf(buf, sizeof(buf), "%s/boot/%s", getenv("loaddev"),
+ HELP_FILENAME);
if ((hfd = open(buf, O_RDONLY)) < 0) {
printf("Verbose help not available, "
"use '?' to list commands\n");