chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Constify ConfigTableItem tables
[elogind.git]
/
src
/
tty-ask-password-agent
/
tty-ask-password-agent.c
diff --git
a/src/tty-ask-password-agent/tty-ask-password-agent.c
b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 55a2215d0a2517253a86265e62f50e551f92fa4a..0398a9d814ecae58d961f1cdc851ec4a8fe64b94 100644
(file)
--- a/
src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/
src/tty-ask-password-agent/tty-ask-password-agent.c
@@
-272,7
+272,7
@@
static int parse_password(const char *filename, char **wall) {
return -errno;
}
return -errno;
}
- r = config_parse(NULL, filename, f, NULL, config_item_table_lookup,
(void*)
items, true, false, NULL);
+ r = config_parse(NULL, filename, f, NULL, config_item_table_lookup, items, true, false, NULL);
if (r < 0) {
log_error("Failed to parse password file %s: %s", filename, strerror(-r));
goto finish;
if (r < 0) {
log_error("Failed to parse password file %s: %s", filename, strerror(-r));
goto finish;