mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
Merge pull request #269 from bbonev/my-patch-1
Fix a mistake in the length of USEC_INITIALIZED when parsing property…
This commit is contained in:
commit
ddfdf863d7
@ -533,7 +533,7 @@ static void udev_device_add_property_from_string_parse(struct udev_device *udev_
|
||||
}
|
||||
}
|
||||
} else if (startswith(property, "USEC_INITIALIZED=")) {
|
||||
udev_device_set_usec_initialized(udev_device, strtoull(&property[19], NULL, 10));
|
||||
udev_device_set_usec_initialized(udev_device, strtoull(&property[17], NULL, 10));
|
||||
} else if (startswith(property, "DRIVER=")) {
|
||||
udev_device_set_driver(udev_device, &property[7]);
|
||||
} else if (startswith(property, "ACTION=")) {
|
||||
|
Loading…
Reference in New Issue
Block a user