summaryrefslogtreecommitdiff
path: root/extras/scsi_id
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2005-07-19 11:18:19 -0400
committerKay Sievers <kay.sievers@suse.de>2005-07-19 11:18:19 -0400
commit46f01c6dc44ba516e42d5c8c1ada98a743f916f2 (patch)
tree55566f30b819cd74496acaa4775733261257fc7a /extras/scsi_id
parentbf375e3af65f0e9728516a3627613fb95288c1d1 (diff)
add ID_BUS to *_id programs
Diffstat (limited to 'extras/scsi_id')
-rw-r--r--extras/scsi_id/scsi_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index cbefb445df..1b4234a40e 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -827,6 +827,7 @@ static int scsi_id(const char *target_path, char *maj_min_dev)
set_str(serial_str, serial, sizeof(serial_str));
printf("ID_SERIAL=%s\n", serial_str);
printf("ID_TYPE=%s\n", type_str);
+ printf("ID_BUS=scsi\n");
} else {
if (reformat_serial)
format_serial(serial);