Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 15:32:25 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268289 - head/usr.sbin/ctladm
Message-ID:  <201407051532.s65FWP3w009176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Jul  5 15:32:25 2014
New Revision: 268289
URL: http://svnweb.freebsd.org/changeset/base/268289

Log:
  Fix minor copy-paste bug in r268284.

Modified:
  head/usr.sbin/ctladm/ctladm.c

Modified: head/usr.sbin/ctladm/ctladm.c
==============================================================================
--- head/usr.sbin/ctladm/ctladm.c	Sat Jul  5 14:32:42 2014	(r268288)
+++ head/usr.sbin/ctladm/ctladm.c	Sat Jul  5 15:32:25 2014	(r268289)
@@ -4188,7 +4188,7 @@ cctl_end_pelement(void *user_data, const
 	} else if (strcmp(name, "physical_port") == 0) {
 		cur_port->pp = strtoull(str, NULL, 0);
 	} else if (strcmp(name, "virtual_port") == 0) {
-		cur_port->pp = strtoull(str, NULL, 0);
+		cur_port->vp = strtoull(str, NULL, 0);
 	} else if (strcmp(name, "wwnn") == 0) {
 		cur_port->wwnn = str;
 		str = NULL;



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