--- po/intl2po.c.orig 2008-11-10 16:55:40.000000000 +0100 +++ po/intl2po.c 2009-01-17 21:57:25.000000000 +0100 @@ -341,7 +341,7 @@ case FOUND_DIALOG: if (status!=SCANNING) { - printf(line_buffer); + printf("%s", line_buffer); wrong_location("DIALOG",infile,outfile,in_filename); return 0; } --- src/arch/unix/gui/vsidui.c.orig 2008-12-07 20:09:20.000000000 +0100 +++ src/arch/unix/gui/vsidui.c 2009-01-17 22:16:40.000000000 +0100 @@ -504,7 +504,7 @@ char buf[50]; sprintf(buf, "Using %s sync", sync == MACHINE_SYNC_PAL ? "PAL" : "NTSC"); - log_message(LOG_DEFAULT, buf); + log_message("%s", LOG_DEFAULT, buf); ui_vsid_setsync(buf); } --- src/arch/unix/archdep.c.orig 2008-10-11 20:20:59.000000000 +0200 +++ src/arch/unix/archdep.c 2009-01-17 23:09:39.000000000 +0100 @@ -322,7 +322,7 @@ int archdep_default_logger(const char *level_string, const char *txt) { if (fputs(level_string, stdout) == EOF - || fprintf(stdout, txt) < 0 + || fprintf("%s", stdout, txt) < 0 || fputc ('\n', stdout) == EOF) return -1; return 0; --- src/sound.c.orig 2008-10-25 21:36:04.000000000 +0200 +++ src/sound.c 2009-01-17 23:18:00.000000000 +0100 @@ -445,7 +445,7 @@ sound_close(); if (console_mode || vsid_mode) { - log_message(sound_log, msg); + log_message("%s", sound_log, msg); } else { char *txt = lib_msprintf("Sound: %s", msg); ui_error(txt);