diff options
Diffstat (limited to 'lib/configfs.c')
-rw-r--r-- | lib/configfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/configfs.c b/lib/configfs.c index 26a07bb..a29e576 100644 --- a/lib/configfs.c +++ b/lib/configfs.c @@ -204,7 +204,7 @@ static char *udc_find_video_device(const char *udc, const char *function) int ret; ret = asprintf(&vpath, - "/sys/class/udc/%s/device/gadget/video4linux/video*", + "/sys/class/udc/%s/device/gadget*/video4linux/video*", udc ? udc : "*"); if (!ret) return NULL; |