[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT PATCH] blkfront_xs.c: Fix warning generated by wrong print specifier
Signed-off-by: Radu Nicolau <radunicolau102@xxxxxxxxx> --- plat/xen/drivers/blk/blkfront_xs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/xen/drivers/blk/blkfront_xs.c b/plat/xen/drivers/blk/blkfront_xs.c index e014d90..b455de5 100644 --- a/plat/xen/drivers/blk/blkfront_xs.c +++ b/plat/xen/drivers/blk/blkfront_xs.c @@ -75,7 +75,7 @@ static int blkfront_xb_get_nb_max_queues(struct blkfront_dev *dev) xendev = dev->xendev; err = xs_scanf(XBT_NIL, xendev->otherend, "multi-queue-max-queues", - "%"PRIu16, + "%"SCNu16, &dev->nb_queues); if (err < 0) { uk_pr_err("Failed to read multi-queue-max-queues: %d\n", err); -- 2.7.4
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |