chiark / gitweb /
Report about syntax errors with metadata
[elogind.git] / src / tty-ask-password-agent / tty-ask-password-agent.c
index 1f55e3229ba350b2870b7f20180c03e10ca3f0be..6888a64d4d5443493e013997aac82b2f508db2b5 100644 (file)
@@ -275,7 +275,7 @@ static int parse_password(const char *filename, char **wall) {
                 return -errno;
         }
 
-        r = config_parse(filename, f, NULL, config_item_table_lookup, (void*) items, true, NULL);
+        r = config_parse(NULL, filename, f, NULL, config_item_table_lookup, (void*) items, true, NULL);
         if (r < 0) {
                 log_error("Failed to parse password file %s: %s", filename, strerror(-r));
                 goto finish;