summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevtest.c')
-rw-r--r--udevtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevtest.c b/udevtest.c
index 73bf7dd1f8..bb889a70fd 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -97,7 +97,7 @@ int main(int argc, char *argv[], char *envp[])
goto exit;
}
- udev = udev_device_init();
+ udev = udev_device_init(NULL);
if (udev == NULL) {
fprintf(stderr, "error initializing device\n");
rc = 3;