summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2009-05-28 15:25:17 -0500
committerDavid Teigland <teigland@redhat.com>2009-05-28 15:25:17 -0500
commit07755d9dc0c4d4e0ee3d5319cdbf33820709113b (patch)
tree7a61971e1a218ea3aee2d73b0d32a1f9b8e448c0
parente35d034dc3c573576184909c8ceff614be1e77d4 (diff)
downloaddct-stuff-07755d9dc0c4d4e0ee3d5319cdbf33820709113b.tar.gz
dct-stuff-07755d9dc0c4d4e0ee3d5319cdbf33820709113b.tar.xz
dct-stuff-07755d9dc0c4d4e0ee3d5319cdbf33820709113b.zip
cpgx: munge output text
Signed-off-by: David Teigland <teigland@redhat.com>
-rw-r--r--cpgx/cpgx.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpgx/cpgx.c b/cpgx/cpgx.c
index 639b8ed..e083b0d 100644
--- a/cpgx/cpgx.c
+++ b/cpgx/cpgx.c
@@ -233,9 +233,9 @@ static void _log_header(struct dct_header *h, uint32_t id, int error)
h->last_config);
else if (error && h->type == EV_MSGSYNC)
- log_error("%08u sync %u tv %u.%06u config %u to %u count %u",
- id, h->nodeid, h->tv_sec, h->tv_usec,
- h->last_config, h->to_nodeid, h->event_count);
+ log_error("%08u sync %u to %u tv %u.%06u config %u count %u",
+ id, h->nodeid, h->to_nodeid, h->tv_sec, h->tv_usec,
+ h->last_config, h->event_count);
else if (!error && h->type == EV_MSGTIME)
log_history("%08u time %u tv %u.%06u config %u",
@@ -243,9 +243,9 @@ static void _log_header(struct dct_header *h, uint32_t id, int error)
h->last_config);
else if (!error && h->type == EV_MSGSYNC)
- log_history("%08u sync %u tv %u.%06u config %u to %u count %u",
- id, h->nodeid, h->tv_sec, h->tv_usec,
- h->last_config, h->to_nodeid, h->event_count);
+ log_history("%08u sync %u to %u tv %u.%06u config %u count %u",
+ id, h->nodeid, h->to_nodeid, h->tv_sec, h->tv_usec,
+ h->last_config, h->event_count);
else
log_error("%08u unknown message type %d", id, h->type);
@@ -823,7 +823,7 @@ void read_events(struct dct_header *hd, int len, int check_only)
ev_buf++;
}
- log_debug("read_events from %u to %u len %d count %d events %u-%u %s",
+ log_debug("read_events %u to %u len %d count %d events %u-%u %s",
hd->nodeid, hd->to_nodeid, len, count, start_eventid,
end_eventid, check_only ? "check" : "copy");