public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: master - qdisk: fix mkqdisk output
Date: Mon, 05 Jan 2009 07:53:00 -0000	[thread overview]
Message-ID: <20090105075313.8587EC024D@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=22c8083315eec74bee174c5ebeccc6e38d8c1ab5
Commit:        22c8083315eec74bee174c5ebeccc6e38d8c1ab5
Parent:        64cbd506b3abf6f75444a8f5d23896386f48667e
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon Jan 5 08:50:21 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Jan 5 08:53:04 2009 +0100

qdisk: fix mkqdisk output

we killed output to std* by default in logging. we can't use log*print*
anylonger for this operation. Switch back to printf.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/qdisk/proc.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cman/qdisk/proc.c b/cman/qdisk/proc.c
index 812c69a..b4f60dd 100644
--- a/cman/qdisk/proc.c
+++ b/cman/qdisk/proc.c
@@ -185,14 +185,14 @@ print_qdisk_info(struct devnode *dn)
 	time_t timestamp = (time_t)qh->qh_timestamp;
 
 	for (dp = dn->devpath; dp; dp = dp->next)
-		logt_print(LOG_INFO, "%s:\n", dp->path);
-	logt_print(LOG_INFO, "\tMagic:                %08x\n", qh->qh_magic);
-	logt_print(LOG_INFO, "\tLabel:                %s\n", qh->qh_cluster);
-	logt_print(LOG_INFO, "\tCreated:              %s", ctime(&timestamp));
-	logt_print(LOG_INFO, "\tHost:                 %s\n", qh->qh_updatehost);
-	logt_print(LOG_INFO, "\tKernel Sector Size:   %d\n", qh->qh_kernsz);
+		printf("%s:\n", dp->path);
+	printf("\tMagic:                %08x\n", qh->qh_magic);
+	printf("\tLabel:                %s\n", qh->qh_cluster);
+	printf("\tCreated:              %s", ctime(&timestamp));
+	printf("\tHost:                 %s\n", qh->qh_updatehost);
+	printf("\tKernel Sector Size:   %d\n", qh->qh_kernsz);
 	if (qh->qh_version == VERSION_MAGIC_V2) {
-		logt_print(LOG_INFO, "\tRecorded Sector Size: %d\n\n", (int)qh->qh_blksz);
+		printf("\tRecorded Sector Size: %d\n\n", (int)qh->qh_blksz);
 	}
 }
 


                 reply	other threads:[~2009-01-05  7:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090105075313.8587EC024D@lists.fedorahosted.org \
    --to=fabbione@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).