svn commit: r350524 - head/sbin/nvmecontrol

Alexander Motin mav at FreeBSD.org
Thu Aug 1 22:22:07 UTC 2019


Author: mav
Date: Thu Aug  1 22:22:06 2019
New Revision: 350524
URL: https://svnweb.freebsd.org/changeset/base/350524

Log:
  Rename function added in r350523 to make gcc happy.
  
  MFC after:	2 weeks

Modified:
  head/sbin/nvmecontrol/nsid.c

Modified: head/sbin/nvmecontrol/nsid.c
==============================================================================
--- head/sbin/nvmecontrol/nsid.c	Thu Aug  1 21:44:07 2019	(r350523)
+++ head/sbin/nvmecontrol/nsid.c	Thu Aug  1 22:22:06 2019	(r350524)
@@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
 
 /* Tables for command line parsing */
 
-static cmd_fn_t nsid;
+static cmd_fn_t gnsid;
 
 static struct nsid_options {
 	const char	*dev;
@@ -54,7 +54,7 @@ static const struct args nsid_args[] = {
 
 static struct cmd nsid_cmd = {
 	.name = "nsid",
-	.fn = nsid,
+	.fn = gnsid,
 	.descr = "Get controller and NSID for namespace",
 	.ctx_size = sizeof(nsid_opt),
 	.opts = NULL,
@@ -64,7 +64,7 @@ static struct cmd nsid_cmd = {
 CMD_COMMAND(nsid_cmd);
 
 static void
-nsid(const struct cmd *f, int argc, char *argv[])
+gnsid(const struct cmd *f, int argc, char *argv[])
 {
 	char		*path;
 	int		fd;


More information about the svn-src-head mailing list