summaryrefslogtreecommitdiff
path: root/usr/src/cmd/prtfru
diff options
context:
space:
mode:
authordt207653 <none@none>2008-03-17 21:39:43 -0700
committerdt207653 <none@none>2008-03-17 21:39:43 -0700
commit043728a3b744c81c506dc22d914fda48a547bec9 (patch)
tree7570586aeb73a718941637fd27be058a68eda7a9 /usr/src/cmd/prtfru
parent5a3d071821f538e6109877cf4a28881c159e8cfc (diff)
downloadillumos-joyent-043728a3b744c81c506dc22d914fda48a547bec9.tar.gz
6604160 On non supported platform prtfru/fruadm commands give misleading message output.
Diffstat (limited to 'usr/src/cmd/prtfru')
-rw-r--r--usr/src/cmd/prtfru/prtfru.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/cmd/prtfru/prtfru.c b/usr/src/cmd/prtfru/prtfru.c
index 6b2d426b15..c1ecccde21 100644
--- a/usr/src/cmd/prtfru/prtfru.c
+++ b/usr/src/cmd/prtfru/prtfru.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1207,7 +1207,10 @@ prtfru(const char *searchpath, int containers_only_flag, int list_only_flag,
/* Get the root node */
if ((status = fru_get_root(&frutree)) == FRU_NODENOTFOUND) {
- error(gettext("This system does not provide FRU ID data\n"));
+ error(gettext("This system does not support PICL "
+ "infrastructure to provide FRUID data\n"
+ "Please use the platform SP to access the FRUID "
+ "information\n"));
return (1);
} else if (status != FRU_SUCCESS) {
error(gettext("Unable to access FRU ID data: %s\n"),