chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ask-password: properly NULL terminate table
[elogind.git]
/
src
/
tty-ask-password-agent.c
diff --git
a/src/tty-ask-password-agent.c
b/src/tty-ask-password-agent.c
index e99562284a8429a5640183f527c6f257cd5127de..8a6e3d331ede5025e01040917f3c3b8f14ddbf8c 100644
(file)
--- a/
src/tty-ask-password-agent.c
+++ b/
src/tty-ask-password-agent.c
@@
-213,6
+213,7
@@
static int parse_password(const char *filename, char **wall) {
{ "NotAfter", config_parse_uint64, ¬_after, "Ask" },
{ "Message", config_parse_string, &message, "Ask" },
{ "PID", config_parse_unsigned, &pid, "Ask" },
+ { NULL, NULL, NULL, NULL }
};
FILE *f;