From 43b34aced1895199412940138fd7d0f4a3f845e3 Mon Sep 17 00:00:00 2001
From: bwzhou <bwzhou>
Date: Tue, 25 Mar 2008 03:24:58 +0000
Subject: [PATCH] Branch b1_6 b=14072 r=bobijam, johann

make error info less scary.
---
 lustre/utils/mkfs_lustre.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c
index ec37f4df53..0b1880f54a 100644
--- a/lustre/utils/mkfs_lustre.c
+++ b/lustre/utils/mkfs_lustre.c
@@ -901,10 +901,10 @@ int read_local_files(struct mkfs_opts *mop)
                 /* COMPAT_146 */
                 /* Try to read pre-1.6 config from last_rcvd */
                 struct lr_server_data lsd;
-                verrprint("%s: Unable to read %s (%s).\n",
-                          progname, filepnm, strerror(errno));
+                verrprint("%s: Unable to read %d.%d config %s.\n",
+                          progname, LUSTRE_MAJOR, LUSTRE_MINOR, filepnm);
 
-                verrprint("Trying last_rcvd\n");
+                verrprint("Trying 1.4 config from last_rcvd\n");
                 sprintf(filepnm, "%s/%s", tmpdir, LAST_RCVD);
 
                 /* Construct debugfs command line. */
-- 
GitLab