summaryrefslogtreecommitdiffhomepage
path: root/system-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'system-linux.c')
-rw-r--r--system-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-linux.c b/system-linux.c
index eb785b5..d868c15 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -548,7 +548,7 @@ handle_hotplug_msg(char *data, int size)
return;
found:
- dev = device_get(interface, false);
+ dev = device_find(interface);
if (!dev)
return;