aboutsummaryrefslogtreecommitdiffstats
path: root/block/blktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blktrace.c')
-rw-r--r--block/blktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blktrace.c b/block/blktrace.c
index 568588cd16b2..b2cbb4e5d767 100644
--- a/block/blktrace.c
+++ b/block/blktrace.c
@@ -476,7 +476,7 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg)
476 476
477 switch (cmd) { 477 switch (cmd) {
478 case BLKTRACESETUP: 478 case BLKTRACESETUP:
479 strcpy(b, bdevname(bdev, b)); 479 bdevname(bdev, b);
480 ret = blk_trace_setup(q, b, bdev->bd_dev, arg); 480 ret = blk_trace_setup(q, b, bdev->bd_dev, arg);
481 break; 481 break;
482 case BLKTRACESTART: 482 case BLKTRACESTART: