X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd-terminal%2Fsubterm.c;h=3990fb392bb81164ac7c26f7d850a94fc9cba6eb;hb=8e9371905c743cf997b2e8fa7fe3238f81f741fe;hp=46ab6b4a1e7c85ecd96e1b0cc9adc9cba244a5dc;hpb=3f8916fb0dd9eb8c4c4979045d3e2b223f776698;p=elogind.git diff --git a/src/libsystemd-terminal/subterm.c b/src/libsystemd-terminal/subterm.c index 46ab6b4a1..3990fb392 100644 --- a/src/libsystemd-terminal/subterm.c +++ b/src/libsystemd-terminal/subterm.c @@ -386,7 +386,7 @@ static void output_draw_frame(Output *o) { static void output_draw_menu(Output *o) { assert(o); - output_frame_printl(o, ""); + output_frame_printl(o, "%s", ""); output_frame_printl(o, " Menu: (the following keys are recognized)"); output_frame_printl(o, " q: quit"); output_frame_printl(o, " ^C: send ^C to the PTY"); @@ -564,7 +564,7 @@ static void output_draw(Output *o, bool menu, term_screen *screen) { */ static void terminal_dirty(Terminal *t) { - uint64_t usec; + usec_t usec; int r; assert(t);