public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - qdisk: fix mkqdisk output
@ 2009-01-05 7:53 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-01-05 7:53 UTC (permalink / raw)
To: cluster-cvs-relay
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(×tamp));
- 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(×tamp));
+ 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);
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-05 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-05 7:53 cluster: master - qdisk: fix mkqdisk output Fabio M. Di Nitto
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).