Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 18:35:03 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273914 - head/sys/boot/fdt
Message-ID:  <201410311835.s9VIZ3qH083715@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[] = {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410311835.s9VIZ3qH083715>