From: bwzhou Date: Tue, 25 Mar 2008 03:37:00 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_0_51~95 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=cea4c49d2b751ce4cbd0d1ef9d62726c14ff53f8;p=fs%2Flustre-release.git Branch HEAD b=14072 r=bobijam, johann make the error info less scary. --- diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 0c1cd45..68a326e 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -922,10 +922,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. */