Message ID | 20210226071606.362321-1-its@irrelevant.dk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | block: fix argument order for capacity change info print | expand |
diff --git a/block/genhd.c b/block/genhd.c index 304f8dcc9a9b..de8ecc402f69 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -73,7 +73,7 @@ bool set_capacity_and_notify(struct gendisk *disk, sector_t size) return false; pr_info("%s: detected capacity change from %lld to %lld\n", - disk->disk_name, size, capacity); + disk->disk_name, capacity, size); /* * Historically we did not send a uevent for changes to/from an empty