From 92e57abc8b98e5c28b6d6b4e9e3bf8735c0746c4 Mon Sep 17 00:00:00 2001 Message-Id: <92e57abc8b98e5c28b6d6b4e9e3bf8735c0746c4.1715544519.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 23 Dec 2008 00:55:29 +0000 Subject: [PATCH] client/tripectl.c: Fix format string bug in tripectl. Organization: Straylight/Edgeware From: Mark Wooding OK, I'm seriously embarrassed about this one. --- client/tripectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tripectl.c b/client/tripectl.c index e171b0da..661e5199 100644 --- a/client/tripectl.c +++ b/client/tripectl.c @@ -263,7 +263,7 @@ static void logfile(const char *name) else if (logname) die(EXIT_FAILURE, d.buf); if (f & f_syslog) - syslog(LOG_ERR, d.buf); + syslog(LOG_ERR, "%s", d.buf); dstr_destroy(&d); } } -- [mdw]