mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-15 11:07:24 +07:00
[PATCH] The following patch fixes a warning when compiling chassis_id
This commit is contained in:
parent
3810823b44
commit
e296b1476e
@ -59,7 +59,7 @@ int table_init(void)
|
||||
i = 0;
|
||||
while (!feof(fp)) {
|
||||
fgets(ptr, 80, fp);
|
||||
sscanf(ptr, "%d %d %d %d %d %s %s", &ptable[i].id,
|
||||
sscanf(ptr, "%d %d %d %d %s %s", &ptable[i].id,
|
||||
&ptable[i].num_disks,
|
||||
&ptable[i].chassis_num, &ptable[i].slot_num,
|
||||
ptable[i].serial_num, ptable[i].name);
|
||||
|
Loading…
Reference in New Issue
Block a user