--- common/misc.c.orig 2009-04-04 19:43:43.000000000 +0200 +++ common/misc.c 2010-01-01 18:38:01.000000000 +0100 @@ -197,7 +197,7 @@ LOG_SETMESSAGE(le,buf); LOG_SETORIGIN(le,origin); le->level=level; - fprintf(stderr,getLogText(le)); + fprintf(stderr, "%s", getLogText(le)); if (loglist) (*loglist)(le); } --- x11/x11.c.orig 2009-04-04 19:43:47.000000000 +0200 +++ x11/x11.c 2010-01-01 18:44:58.000000000 +0100 @@ -288,7 +288,7 @@ char buf[MAX_BUF]; XGetErrorText(dp, xe->error_code, buf, MAX_BUF-1); - fprintf(stderr,buf); + fprintf(stderr, "%s", buf); /* If you want to try to live through errors, comment out * the abort below. */