From 293058931b0d2be50da82ce72d3249df01389444 Mon Sep 17 00:00:00 2001 From: Paul Griffiths-Todd Date: Thu, 25 Apr 2013 21:56:34 +0200 Subject: 3751 ALUA mode: "/usr/demo/comstar/bin/aluaadm enable 1" sets "ALUA Node" = 0 Reviewed by: Hans Rosenfeld Reviewed by: SaÊío Kiselkov Reviewed by: Garrett D'Amore Approved by: Gordon Ross MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/cmd/stmfproxy/aluaadm/aluaadm.c | 2 +- usr/src/man/man1m/stmfadm.1m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c b/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c index 5fa1504793..3a8a21705f 100644 --- a/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c +++ b/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c @@ -171,7 +171,7 @@ enableAluaFunc(int operandLen, char *operands[], cmdOptions_t *options, void *args) { uint8_t node_id = 0; - if (operands[0][1] == '1') { + if (operands[0][0] == '1') { node_id = 1; } return (stmfSetAluaState(B_TRUE, node_id)); diff --git a/usr/src/man/man1m/stmfadm.1m b/usr/src/man/man1m/stmfadm.1m index 3fe7cd31ed..8e9f5d3b79 100644 --- a/usr/src/man/man1m/stmfadm.1m +++ b/usr/src/man/man1m/stmfadm.1m @@ -926,7 +926,7 @@ Offline a logical unit currently registered with the STMF. .ad .sp .6 .RS 4n -Online the specified target. +Offline the specified target. .RE .sp -- cgit v1.2.3