From: John Snow Date: Mon, 7 Jun 2021 20:06:10 +0000 (-0400) Subject: scripts/qmp-shell: fix show_banner signature X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=70e56740181a980a5bb60c3b0223e34e2616caf4;p=qemu.git scripts/qmp-shell: fix show_banner signature The signatures need to match. Signed-off-by: John Snow Message-id: 20210607200649.1840382-4-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell index 62a6377e06..18bf49bb26 100755 --- a/scripts/qmp/qmp-shell +++ b/scripts/qmp/qmp-shell @@ -389,8 +389,8 @@ class HMPShell(QMPShell): print('%s: %s' % (resp['error']['class'], resp['error']['desc'])) return True - def show_banner(self): - QMPShell.show_banner(self, msg='Welcome to the HMP shell!') + def show_banner(self, msg='Welcome to the HMP shell!'): + QMPShell.show_banner(self, msg) def die(msg):