chiark / gitweb /
scsi_id: fix truncated model in by-id device links
authorJean Delvare <jdelvare@suse.de>
Fri, 25 May 2012 14:08:00 +0000 (16:08 +0200)
committerKay Sievers <kay@vrfy.org>
Sun, 27 May 2012 13:15:47 +0000 (15:15 +0200)
commit9159b90a4f78a83b8f751716f57fcf6d979676fe
tree30bdc03dcb5be6754059fbfc9e3fc5644dbc0c13
parentee56538fa70d969c7374803cadfa1311d07d8b49
scsi_id: fix truncated model in by-id device links

Do not forget the leading "S" when appending the serial number,
otherwise we chop the last character of the model name.

Addresses: https://bugzilla.novell.com/show_bug.cgi?id=763397
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
src/udev/scsi_id/scsi_serial.c