summaryrefslogtreecommitdiffstats
path: root/commands/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/net.c')
-rw-r--r--commands/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/net.c b/commands/net.c
index 93c6365ef6..629f690096 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -94,7 +94,7 @@ static int do_tftpb (cmd_tbl_t *cmdtp, int argc, char *argv[])
return netboot_common (TFTP, cmdtp, argc, argv);
}
-static __maybe_unused char cmd_tftp_help[] =
+static const __maybe_unused char cmd_tftp_help[] =
"Usage: tftp <file> [localfile]\n"
"Load a file via network using BootP/TFTP protocol.\n";
@@ -173,7 +173,7 @@ static int do_nfs (cmd_tbl_t *cmdtp, int argc, char *argv[])
return netboot_common(NFS, cmdtp, argc, argv);
}
-static __maybe_unused char cmd_nfs_help[] =
+static const __maybe_unused char cmd_nfs_help[] =
"Usage: nfs <file> [localfile]\n"
"Load a file via network using nfs protocol.\n";