From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/qdisk clulog.c disk.c
Date: 26 Oct 2007 19:00:08 -0000 [thread overview]
Message-ID: <20071026190008.8347.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rmccabe at sourceware.org 2007-10-26 19:00:06
Modified files:
cman/qdisk : clulog.c disk.c
Log message:
More format string fixes
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/clulog.c.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/disk.c.diff?cvsroot=cluster&r1=1.5&r2=1.6
--- cluster/cman/qdisk/clulog.c 2007/01/22 22:51:05 1.3
+++ cluster/cman/qdisk/clulog.c 2007/10/26 19:00:06 1.4
@@ -273,7 +273,7 @@
fprintf(stdout, "%s", printmsg);
}
- syslog(severity, logmsg);
+ syslog(severity, "%s", logmsg);
pthread_mutex_unlock(&log_mutex);
--- cluster/cman/qdisk/disk.c 2007/09/11 12:38:08 1.5
+++ cluster/cman/qdisk/disk.c 2007/10/26 19:00:06 1.6
@@ -683,7 +683,7 @@
}
/* Copy in the cluster/label name */
- snprintf(qh.qh_cluster, sizeof(qh.qh_cluster)-1, label);
+ snprintf(qh.qh_cluster, sizeof(qh.qh_cluster)-1, "%s", label);
if ((qh.qh_timestamp = (uint64_t)time(NULL)) <= 0) {
perror("time");
next reply other threads:[~2007-10-26 19:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 19:00 rmccabe [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-29 17:54 [Cluster-devel] cluster/cman/qdisk clulog.c disk.c rmccabe
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=20071026190008.8347.qmail@sourceware.org \
--to=rmccabe@sourceware.org \
/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 NNTP newsgroup(s).