]> git.proxmox.com Git - mirror_qemu.git/commit
dump: fix note_name_equal()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 12 Dec 2017 14:53:59 +0000 (15:53 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 2 Jan 2018 13:49:54 +0000 (14:49 +0100)
commitc983ca845782bf91171b5ec4e59d122a21229745
treef9507b25d23631e007ab1ae988bb28978e6612f6
parent281f327487c9c9b1599f93c589a408bbf4a651b8
dump: fix note_name_equal()

Use the function argument "name" instead of hardcoded
"VMCOREINFO". All callers use "VMCOREINFO" as argument, so this isn't
an exposed bug, thankfully.

Simplify a little bit the code while touching this.

Suggested-by: Andrew Jones <drjones@redhat.com>
Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
dump.c