diff -p -up gjs-0.3/modules/console.c~ gjs-0.3/modules/console.c --- gjs-0.3/modules/console.c~ 2009-05-02 02:14:04.000000000 +0200 +++ gjs-0.3/modules/console.c 2009-07-05 21:17:52.000000000 +0200 @@ -147,7 +147,7 @@ static JSBool gjs_console_readline(JSContext *cx, char *bufp, FILE *file, const char *prompt) { char line[256]; - fprintf(stdout, prompt); + fprintf(stdout, "%s", prompt); fflush(stdout); if (!fgets(line, sizeof line, file)) return JS_FALSE;