Home
last modified time | relevance | path

Searched refs:usb_serial (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/udev/
Dudev-builtin-usb_id.c405 const char *usb_serial; in builtin_usb_id() local
407 if (sd_device_get_sysattr_value(dev_usb, "serial", &usb_serial) >= 0) { in builtin_usb_id()
409 for (const unsigned char *p = (unsigned char*) usb_serial; *p != '\0'; p++) in builtin_usb_id()
411 usb_serial = NULL; in builtin_usb_id()
415 if (usb_serial) { in builtin_usb_id()
416 … udev_replace_whitespace(usb_serial, serial_str, sizeof(serial_str)-1); in builtin_usb_id()