ask-password: properly NULL terminate table

This commit is contained in:
Lennart Poettering
2010-11-12 03:04:47 +01:00
parent c5fd1e57e4
commit 53d3afa8ca
+1
View File
@@ -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;