diff options
author | mav <mav@FreeBSD.org> | 2014-07-24 15:48:18 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-07-24 15:48:18 +0000 |
commit | e65da97c90b6651cb4ad157148d23e9cd572ebcc (patch) | |
tree | f96dd7c13957e36b3bbfd3093f2fb32d7d7d87ba /usr.sbin | |
parent | 70c3d88292864d970ba2f4b0398151d9de301310 (diff) | |
download | FreeBSD-src-e65da97c90b6651cb4ad157148d23e9cd572ebcc.zip FreeBSD-src-e65da97c90b6651cb4ad157148d23e9cd572ebcc.tar.gz |
MFC r268289:
Fix minor copy-paste bug in r268284.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ctladm/ctladm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctladm/ctladm.c b/usr.sbin/ctladm/ctladm.c index 1aa5d28..c362f5c 100644 --- a/usr.sbin/ctladm/ctladm.c +++ b/usr.sbin/ctladm/ctladm.c @@ -4192,7 +4192,7 @@ cctl_end_pelement(void *user_data, const char *name) } 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; |