chiark / gitweb /
fileio: accept FILE* in addition to path in parse_env_file()
[elogind.git] / src / shared / udev-util.c
index 14f2c19288a1029a9099cbad8a2de6d2fecd23c5..81fc805d25c0b1e56da71eed83d0497bcba48336 100644 (file)
@@ -21,7 +21,7 @@ int udev_parse_config(void) {
         size_t n;
         int r;
 
-        r = parse_env_file("/etc/udev/udev.conf", NEWLINE, "udev_log", &val, NULL);
+        r = parse_env_file(NULL, "/etc/udev/udev.conf", NEWLINE, "udev_log", &val, NULL);
         if (r == -ENOENT || !val)
                 return 0;
         if (r < 0)