Searched defs:usb_serial (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-usb_id.c416 const char *usb_serial; local
418 usb_serial = udev_device_get_sysattr_value(dev_usb, "serial");
419 if (usb_serial) {
423 for (p = (unsigned char *)usb_serial; *p != '\0'; p++)
425 usb_serial = NULL;
430 if (usb_serial) {
431 util_replace_whitespace(usb_serial, serial_str, sizeof(serial_str)-1);

Completed in 241 milliseconds