Message ID | 48983d41da98ee853707ec4bc1837b044674a172.1408085402.git.peter.crosthwaite@xilinx.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/core/loader.c b/hw/core/loader.c index 2bf6b8f..1a53f0f 100644 --- a/hw/core/loader.c +++ b/hw/core/loader.c @@ -955,7 +955,7 @@ void do_info_roms(Monitor *mon, const QDict *qdict) if (rom->mr) { monitor_printf(mon, "%s" " size=0x%06zx name=\"%s\"\n", - rom->mr->name, + memory_region_name(rom->mr), rom->romsize, rom->name); } else if (!rom->fw_file) {
Use the function provided rather than spying on the struct. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> --- hw/core/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)