summaryrefslogtreecommitdiffstats
path: root/hw/pflash_cfi02.c
diff options
context:
space:
mode:
authorStefan Weil2012-09-23 08:51:01 +0200
committerStefan Hajnoczi2012-10-05 13:54:35 +0200
commit7a608f562ebd91e811ed0b725e528c894e4f19c4 (patch)
tree19cce17ab0e39535b22c3b6732282efe514d5e1c /hw/pflash_cfi02.c
parentMerge remote-tracking branch 'sstabellini/xen-2012-10-03' into staging (diff)
downloadqemu-7a608f562ebd91e811ed0b725e528c894e4f19c4.tar.gz
qemu-7a608f562ebd91e811ed0b725e528c894e4f19c4.tar.xz
qemu-7a608f562ebd91e811ed0b725e528c894e4f19c4.zip
hw: Fix return value check for bdrv_read, bdrv_write
Those functions return -errno in case of an error. The old code would typically only detect EPERM (1) errors. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'hw/pflash_cfi02.c')
0 files changed, 0 insertions, 0 deletions