svn commit: r273914 - head/sys/boot/fdt
Andrew Turner
andrew at FreeBSD.org
Fri Oct 31 18:35:03 UTC 2014
Author: andrew
Date: Fri Oct 31 18:35:03 2014
New Revision: 273914
URL: https://svnweb.freebsd.org/changeset/base/273914
Log:
The command name is a constant, use the correct type.
MFC after: 1 week
Modified:
head/sys/boot/fdt/fdt_loader_cmd.c
Modified: head/sys/boot/fdt/fdt_loader_cmd.c
==============================================================================
--- head/sys/boot/fdt/fdt_loader_cmd.c Fri Oct 31 18:20:39 2014 (r273913)
+++ head/sys/boot/fdt/fdt_loader_cmd.c Fri Oct 31 18:35:03 2014 (r273914)
@@ -93,9 +93,9 @@ static int fdt_cmd_mres(int argc, char *
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[] = {
More information about the svn-src-head
mailing list