Searched refs:status_attr_path (Results 1 – 1 of 1) sorted by relevance
30 char status_attr_path[SYSFS_PATH_MAX]; in read_attr_usbip_status() local37 size = snprintf(status_attr_path, sizeof(status_attr_path), in read_attr_usbip_status()39 if (size < 0 || (unsigned int)size >= sizeof(status_attr_path)) { in read_attr_usbip_status()41 (long unsigned)sizeof(status_attr_path)); in read_attr_usbip_status()46 fd = open(status_attr_path, O_RDONLY); in read_attr_usbip_status()48 err("error opening attribute %s", status_attr_path); in read_attr_usbip_status()54 err("error reading attribute %s", status_attr_path); in read_attr_usbip_status()