aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2020-07-22 22:40:54 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-07-24 15:03:09 +0200
commit838886378eac879771708100a08a1099173d6935 (patch)
tree30ec432bc3b597b56b52e569ff580d91ca137d05 /hw
parentff5b5d5b6df5655946142820912b28f1a67efc94 (diff)
downloadqemu-838886378eac879771708100a08a1099173d6935.zip
qemu-838886378eac879771708100a08a1099173d6935.tar.gz
qemu-838886378eac879771708100a08a1099173d6935.tar.bz2
sd/milkymist-memcard: Fix format string
Fixes: b98e8d1230ff7023bb34ddeb7194424dfcbaf789 Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-Id: <20200722204054.1400555-1-sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> [Commit message tweaked] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/sd/milkymist-memcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/milkymist-memcard.c b/hw/sd/milkymist-memcard.c
index afdb8aa..11f6129 100644
--- a/hw/sd/milkymist-memcard.c
+++ b/hw/sd/milkymist-memcard.c
@@ -281,7 +281,7 @@ static void milkymist_memcard_realize(DeviceState *dev, Error **errp)
carddev = qdev_new(TYPE_SD_CARD);
qdev_prop_set_drive(carddev, "drive", blk);
if (!qdev_realize_and_unref(carddev, BUS(&s->sdbus), &err)) {
- error_propagate_prepend(errp, err, "failed to init SD card: %s");
+ error_propagate_prepend(errp, err, "failed to init SD card");
return;
}
s->enabled = blk && blk_is_inserted(blk);