summaryrefslogtreecommitdiff
path: root/usr/src/cmd/stat
diff options
context:
space:
mode:
authorChris Liu <Chris.Liu@Sun.COM>2009-06-04 14:55:51 +0800
committerChris Liu <Chris.Liu@Sun.COM>2009-06-04 14:55:51 +0800
commit0c3de118c3eb50201538531adc7af57753c37a62 (patch)
tree809a6ab9ca2fc7d826e9ff2301d24bcba6cecb4a /usr/src/cmd/stat
parent5c51f1241dbbdf2656d0e10011981411ed0c9673 (diff)
downloadillumos-gate-0c3de118c3eb50201538531adc7af57753c37a62.tar.gz
6837799 iostat -Y failed on the PHCI driver name with '_'
6681713 mpathadm list LU fails after LUN is unmapped and all device paths are considered failed by MPxIO
Diffstat (limited to 'usr/src/cmd/stat')
-rw-r--r--usr/src/cmd/stat/common/acquire_iodevs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/cmd/stat/common/acquire_iodevs.c b/usr/src/cmd/stat/common/acquire_iodevs.c
index d4a5553d52..e72b3f26a8 100644
--- a/usr/src/cmd/stat/common/acquire_iodevs.c
+++ b/usr/src/cmd/stat/common/acquire_iodevs.c
@@ -19,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include "statcommon.h"
#include "dsr.h"
@@ -696,7 +694,7 @@ get_lti(char *s,
{
int num = 0;
- num = sscanf(s, "%[a-z]%d%*[.]%[a-z]%d%*[.]%[a-z]%d", lname, l,
+ num = sscanf(s, "%[a-z]%d%*[.]%[a-z]%d%*[.]%[a-z_]%d", lname, l,
tname, t, iname, i);
return ((num == 6) ? 1 : 0);
}