Home
last modified time | relevance | path

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

/tools/usb/usbip/libsrc/
Dusbip_host_common.c42 char status_attr_path[SYSFS_PATH_MAX]; in read_attr_usbip_status() local
49 size = snprintf(status_attr_path, sizeof(status_attr_path), in read_attr_usbip_status()
51 if (size < 0 || (unsigned int)size >= sizeof(status_attr_path)) { in read_attr_usbip_status()
53 (long unsigned)sizeof(status_attr_path)); in read_attr_usbip_status()
58 fd = open(status_attr_path, O_RDONLY); in read_attr_usbip_status()
60 err("error opening attribute %s", status_attr_path); in read_attr_usbip_status()
66 err("error reading attribute %s", status_attr_path); in read_attr_usbip_status()