summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/scsi_id/scsi_id.c')
-rw-r--r--extras/scsi_id/scsi_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index 446df70949..c64e203aff 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -679,7 +679,7 @@ static int scsi_id(const char *devpath, char *maj_min_dev)
if (reformat_serial)
format_serial(serial);
if (display_bus_id)
- printf("%s: ", dev_scsi->kernel_name);
+ printf("%s: ", dev_scsi->kernel);
printf("%s\n", serial);
}
dbg("%s\n", serial);