summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-03-12 14:23:15 -0500
committerLuiz Souza <luiz@netgate.com>2018-03-12 14:24:14 -0500
commit10a865750fb0cf3fb1d196168b9b720bb32de1bd (patch)
tree79da09efb23cc04c8117213ad02c745429d891ee
parent606d357e808d47170ca3c3d00af4bd29272bd56c (diff)
downloadFreeBSD-src-10a865750fb0cf3fb1d196168b9b720bb32de1bd.zip
FreeBSD-src-10a865750fb0cf3fb1d196168b9b720bb32de1bd.tar.gz
Fix a mistake during the merge from current where the function returns an int.
(cherry picked from commit 3bd88d14da8c3bcbba35dd661b11e22c21e18682)
-rw-r--r--sbin/etherswitchcfg/etherswitchcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/etherswitchcfg/etherswitchcfg.c b/sbin/etherswitchcfg/etherswitchcfg.c
index 3151e90..26b6ff2 100644
--- a/sbin/etherswitchcfg/etherswitchcfg.c
+++ b/sbin/etherswitchcfg/etherswitchcfg.c
@@ -225,7 +225,7 @@ set_port_flag(struct cfg *cfg, char *argv[])
err(EX_OSERR, "ioctl(IOETHERSWITCHSETPORT)");
}
-static int
+static void
set_port_state(struct cfg *cfg, char *argv[])
{
etherswitch_port_t p;
OpenPOWER on IntegriCloud