From: Elena Gryaznova Date: Tue, 16 Nov 2010 11:30:43 +0000 (+0300) Subject: b=18717 make "lfs check" output consistent on stdout X-Git-Tag: 2.0.56.0~19 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f5a80677f98c21eddb244a8e2c86b7fda421728f;p=fs%2Flustre-release.git b=18717 make "lfs check" output consistent on stdout o=Andreas.Dilger i=Brian.Murrell i=Elena.Gryaznova --- diff --git a/lustre/utils/obd.c b/lustre/utils/obd.c index 7003657..0ff3100 100644 --- a/lustre/utils/obd.c +++ b/lustre/utils/obd.c @@ -3107,12 +3107,12 @@ void llapi_ping_target(char *obd_type, char *obd_name, if (rc) rc = errno; if (rc == ENOTCONN || rc == ESHUTDOWN) { - printf("%s inactive.\n", obd_name); + printf("%s: INACTIVE\n", obd_name); } else if (rc) { - fprintf(stderr, "error: check '%s' %s\n", + printf("%s: check error: %s\n", obd_name, strerror(errno)); } else { - printf("%s active.\n", obd_name); + printf("%s: active\n", obd_name); } }