diff mbox series

[2/2] log: remove unneeded new line

Message ID 20230119214033.600FB74645F@zero.eik.bme.hu
State New
Headers show
Series None | expand

Commit Message

BALATON Zoltan Jan. 19, 2023, 9:40 p.m. UTC
The help text of the -d plugin option has a new line at the end which
is not needed as one is added automatically. Fixing it removes the
unexpected empty line in -d help output.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
 util/log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé Jan. 20, 2023, 7:01 a.m. UTC | #1
On 19/1/23 22:40, BALATON Zoltan wrote:
> The help text of the -d plugin option has a new line at the end which
> is not needed as one is added automatically. Fixing it removes the
> unexpected empty line in -d help output.
> 
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
>   util/log.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
BALATON Zoltan Feb. 28, 2023, 10:16 p.m. UTC | #2
On Thu, 19 Jan 2023, BALATON Zoltan wrote:
> The help text of the -d plugin option has a new line at the end which
> is not needed as one is added automatically. Fixing it removes the
> unexpected empty line in -d help output.
>
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>

Ping?

> ---
> util/log.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/util/log.c b/util/log.c
> index a3c097f320..3fe74481da 100644
> --- a/util/log.c
> +++ b/util/log.c
> @@ -489,7 +489,7 @@ const QEMULogItem qemu_log_items[] = {
>       "do not chain compiled TBs so that \"exec\" and \"cpu\" show\n"
>       "complete traces" },
> #ifdef CONFIG_PLUGIN
> -    { CPU_LOG_PLUGIN, "plugin", "output from TCG plugins\n"},
> +    { CPU_LOG_PLUGIN, "plugin", "output from TCG plugins"},
> #endif
>     { LOG_STRACE, "strace",
>       "log every user-mode syscall, its input, and its result" },
>
Philippe Mathieu-Daudé March 9, 2023, 1:32 p.m. UTC | #3
On 28/2/23 23:16, BALATON Zoltan wrote:
> On Thu, 19 Jan 2023, BALATON Zoltan wrote:
>> The help text of the -d plugin option has a new line at the end which
>> is not needed as one is added automatically. Fixing it removes the
>> unexpected empty line in -d help output.
>>
>> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> 
> Ping?

Merged as commit cb9291e550.
diff mbox series

Patch

diff --git a/util/log.c b/util/log.c
index a3c097f320..3fe74481da 100644
--- a/util/log.c
+++ b/util/log.c
@@ -489,7 +489,7 @@  const QEMULogItem qemu_log_items[] = {
       "do not chain compiled TBs so that \"exec\" and \"cpu\" show\n"
       "complete traces" },
 #ifdef CONFIG_PLUGIN
-    { CPU_LOG_PLUGIN, "plugin", "output from TCG plugins\n"},
+    { CPU_LOG_PLUGIN, "plugin", "output from TCG plugins"},
 #endif
     { LOG_STRACE, "strace",
       "log every user-mode syscall, its input, and its result" },