public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL55 - fsck.gfs2: Message printed to stderr instead of stdout
@ 2009-08-17 16:14 Bob Peterson
  0 siblings, 0 replies; only message in thread
From: Bob Peterson @ 2009-08-17 16:14 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e569d4f226eb860d7bda5198a014f249a02ba6af
Commit:        e569d4f226eb860d7bda5198a014f249a02ba6af
Parent:        ba69bf853258c94861b16a7120d005a5c167b003
Author:        Bob Peterson <rpeterso@redhat.com>
AuthorDate:    Tue Jun 30 16:27:49 2009 -0500
Committer:     Bob Peterson <rpeterso@redhat.com>
CommitterDate: Mon Aug 17 10:50:13 2009 -0500

fsck.gfs2: Message printed to stderr instead of stdout

This patch fixes a problem where the "(level X passed)" message
(when checking resource groups) was printing to stderr.

rhbz#506682
---
 gfs2/fsck/initialize.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gfs2/fsck/initialize.c b/gfs2/fsck/initialize.c
index 107bbd3..ede9f43 100644
--- a/gfs2/fsck/initialize.c
+++ b/gfs2/fsck/initialize.c
@@ -256,7 +256,7 @@ static int init_system_inodes(struct gfs2_sbd *sdp)
 		log_warn("Level %d RG check.\n", trust_lvl + 1);
 		if ((rg_repair(sdp, trust_lvl, &rgcount) == 0) &&
 		    (ri_update(sdp, 0, &rgcount) == 0)) {
-			log_err("(level %d passed)\n", trust_lvl + 1);
+			log_warn("(level %d passed)\n", trust_lvl + 1);
 			break;
 		}
 		else


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-17 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-17 16:14 cluster: RHEL55 - fsck.gfs2: Message printed to stderr instead of stdout Bob Peterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).