summaryrefslogtreecommitdiff
path: root/usr/src/cmd/stmfproxy
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/stmfproxy')
-rw-r--r--usr/src/cmd/stmfproxy/aluaadm/aluaadm.c2
1 files changed, 1 insertions, 1 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));