about summary refs log tree commit homepage
path: root/svc_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'svc_dev.c')
-rw-r--r--svc_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svc_dev.c b/svc_dev.c
index ab21211..4f2fefe 100644
--- a/svc_dev.c
+++ b/svc_dev.c
@@ -118,7 +118,7 @@ static int svc_scandev(struct mog_svc *svc, size_t *nr, mog_scandev_cb cb)
                 if (*end != 0) continue;
                 if (mog_devid > MOG_DEVID_MAX) continue;
 
-                dev = mog_dev_for(svc, (uint32_t)mog_devid);
+                dev = mog_dev_for(svc, (uint32_t)mog_devid, true);
                 if (!dev) continue;
 
                 devlist = svc_devlist(svc, dev->st_dev);