Skip to content

Commit

Permalink
sd/milkymist-memcard: Fix format string
Browse files Browse the repository at this point in the history
Fixes: b98e8d1
Signed-off-by: Stefan Weil <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Reviewed-by: Li Qiang <[email protected]>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
stweil authored and Markus Armbruster committed Jul 24, 2020
1 parent ff5b5d5 commit 8388863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/sd/milkymist-memcard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8388863

Please sign in to comment.