diff options
author | andrew <andrew@FreeBSD.org> | 2014-10-31 18:35:03 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2014-10-31 18:35:03 +0000 |
commit | 2ccd430671b61ececedeb3a8df0addebd9e808b3 (patch) | |
tree | 3828f08b45f226452f2f41de4e8339f56e086bdb /sys/boot/fdt/fdt_loader_cmd.c | |
parent | bcbf85db1cddc7b9628c85a6606c58b8867af24f (diff) | |
download | FreeBSD-src-2ccd430671b61ececedeb3a8df0addebd9e808b3.zip FreeBSD-src-2ccd430671b61ececedeb3a8df0addebd9e808b3.tar.gz |
The command name is a constant, use the correct type.
MFC after: 1 week
Diffstat (limited to 'sys/boot/fdt/fdt_loader_cmd.c')
-rw-r--r-- | sys/boot/fdt/fdt_loader_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/fdt/fdt_loader_cmd.c b/sys/boot/fdt/fdt_loader_cmd.c index 23ad6de..7f5d5cd 100644 --- a/sys/boot/fdt/fdt_loader_cmd.c +++ b/sys/boot/fdt/fdt_loader_cmd.c @@ -93,9 +93,9 @@ static int fdt_cmd_mres(int argc, char *argv[]); typedef int cmdf_t(int, char *[]); struct cmdtab { - char *name; - cmdf_t *handler; - int flags; + const char *name; + cmdf_t *handler; + int flags; }; static const struct cmdtab commands[] = { |