mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-19 10:36:28 +07:00
scsi_id: initialize serial strings
This commit is contained in:
parent
c70560feef
commit
803ac7a6d8
@ -682,8 +682,8 @@ static int scsi_id(const char *devpath, char *maj_min_dev)
|
||||
struct sysfs_device *dev_scsi = NULL;
|
||||
int good_dev;
|
||||
int page_code;
|
||||
char serial[MAX_SERIAL_LEN];
|
||||
char serial_short[MAX_SERIAL_LEN];
|
||||
char serial[MAX_SERIAL_LEN] = "";
|
||||
char serial_short[MAX_SERIAL_LEN] = "";
|
||||
const char *bus_str = NULL;
|
||||
|
||||
dbg("devpath %s\n", devpath);
|
||||
|
Loading…
Reference in New Issue
Block a user