Skip to content

Commit cacf4cb

Browse files
committed
monitor/hmp-cmds.c: Clean up hmp_dumpdtb printf
In hmp_dumpdtb(), we print a message when the command succeeds. This message is missing the trailing \n, so the HMP command prompt is printed immediately after it. We also weren't capitalizing 'DTB', or quoting the filename in the message. Fix these nits. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20250206151214.2947842-2-peter.maydell@linaro.org
1 parent f10104a commit cacf4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monitor/hmp-cmds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,6 @@ void hmp_dumpdtb(Monitor *mon, const QDict *qdict)
431431
return;
432432
}
433433

434-
monitor_printf(mon, "dtb dumped to %s", filename);
434+
monitor_printf(mon, "DTB dumped to '%s'\n", filename);
435435
}
436436
#endif

0 commit comments

Comments
 (0)