diff options
Diffstat (limited to 'drivers/ide/ide-gd.c')
-rw-r--r-- | drivers/ide/ide-gd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-gd.c b/drivers/ide/ide-gd.c index de86631e767d..838996a0039e 100644 --- a/drivers/ide/ide-gd.c +++ b/drivers/ide/ide-gd.c | |||
@@ -392,7 +392,7 @@ static int ide_gd_probe(ide_drive_t *drive) | |||
392 | 392 | ||
393 | idkp->dev.parent = &drive->gendev; | 393 | idkp->dev.parent = &drive->gendev; |
394 | idkp->dev.release = ide_disk_release; | 394 | idkp->dev.release = ide_disk_release; |
395 | dev_set_name(&idkp->dev, dev_name(&drive->gendev)); | 395 | dev_set_name(&idkp->dev, "%s", dev_name(&drive->gendev)); |
396 | 396 | ||
397 | if (device_register(&idkp->dev)) | 397 | if (device_register(&idkp->dev)) |
398 | goto out_free_disk; | 398 | goto out_free_disk; |