[Spice-devel] [PATCH spice-server] red-replay-qxl: Remove useless end of line

Frediano Ziglio fziglio at redhat.com
Thu Nov 15 10:22:19 UTC 2018


ping

> 
> spice_debug already add a end of line.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/red-replay-qxl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/red-replay-qxl.c b/server/red-replay-qxl.c
> index bd33b581..6958a495 100644
> --- a/server/red-replay-qxl.c
> +++ b/server/red-replay-qxl.c
> @@ -1289,7 +1289,7 @@ static void replay_handle_dev_input(QXLWorker *worker,
> SpiceReplay *replay,
>          // safe to ignore
>          break;
>      default:
> -        spice_debug("unhandled %d\n", message);
> +        spice_debug("unhandled %d", message);
>      }
>  }
>  
> @@ -1321,7 +1321,7 @@ SPICE_GNUC_VISIBLE QXLCommandExt*
> spice_replay_next_cmd(SpiceReplay *replay,
>      cmd = replay_malloc0(replay, sizeof(QXLCommandExt));
>      cmd->cmd.type = type;
>      cmd->group_id = 0;
> -    spice_debug("command %"SCNu64", %d\r", timestamp, cmd->cmd.type);
> +    spice_debug("command %"SCNu64", %d", timestamp, cmd->cmd.type);
>      switch (cmd->cmd.type) {
>      case QXL_CMD_DRAW:
>          cmd->flags = 0;


More information about the Spice-devel mailing list