bootindex: change fprintf to error_report
commit54086fe5d2c562a3173126d9991bd064faf1e884
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:38 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 08:46:01 +0000 (15 10:46 +0200)
treed511bcd8dedf0f174c3eff61ecf4d49383b82d60
parent4aca8a817813f44e379d21b471c1d4136804814d
bootindex: change fprintf to error_report

The function may be called by qmp command, we should
report error message to the caller.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
bootdevice.c