summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-12 03:04:47 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-12 03:04:47 +0100
commit53d3afa8ca2811093c482b0e14addd1aaa92fb67 (patch)
tree1565a88c94abf3acbd6c30f2f68f22a22ec72166 /src/tty-ask-password-agent.c
parentc5fd1e57e4ae44be039dbfd7ab7f6eed9ca600c5 (diff)
ask-password: properly NULL terminate table
Diffstat (limited to 'src/tty-ask-password-agent.c')
-rw-r--r--src/tty-ask-password-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tty-ask-password-agent.c b/src/tty-ask-password-agent.c
index e99562284a..8a6e3d331e 100644
--- 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, &not_after, "Ask" },
{ "Message", config_parse_string, &message, "Ask" },
{ "PID", config_parse_unsigned, &pid, "Ask" },
+ { NULL, NULL, NULL, NULL }
};
FILE *f;