diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-09-04 10:58:20 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-09-08 10:16:12 +0100 |
commit | f0acfbc6398a405393cc4dd84a03624196abf668 (patch) | |
tree | ee901ab9935062fa44b00566f40c9912c9b2b4d7 | |
parent | 434c6e1007dc345555d94be9f75e78f4253637a8 (diff) | |
download | spice-f0acfbc6398a405393cc4dd84a03624196abf668.tar.gz spice-f0acfbc6398a405393cc4dd84a03624196abf668.tar.xz spice-f0acfbc6398a405393cc4dd84a03624196abf668.zip |
replay: fix formatting string
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
-rw-r--r-- | server/red_replay_qxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_replay_qxl.c b/server/red_replay_qxl.c index fe53dda7..ad1a8fd5 100644 --- a/server/red_replay_qxl.c +++ b/server/red_replay_qxl.c @@ -310,7 +310,7 @@ static void red_replay_rect_ptr(SpiceReplay *replay, const char *prefix, QXLRect { char template[1024]; - snprintf(template, sizeof(template), "rect %s %%d %%d %%d %%d %%d", prefix); + snprintf(template, sizeof(template), "rect %s %%d %%d %%d %%d\n", prefix); replay_fscanf(replay, template, &qxl->top, &qxl->left, &qxl->bottom, &qxl->right); } |