diff --git a/block/genhd.c b/block/genhd.c index 6379b000576c34e9f996d5cc78aa6b39ffe66a87..fcc530164b5ab4d06dac4175f03b79949e92d280 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -74,7 +74,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