From 18822b84f88422f11611c598a0c23c56652693d9 Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Fri, 22 Jun 2018 01:39:25 +0200 Subject: tools: fix misspelling of strchrnul in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Neuschäfer --- src/tools/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/config.c b/src/tools/config.c index b07aa46..8e327be 100644 --- a/src/tools/config.c +++ b/src/tools/config.c @@ -434,7 +434,7 @@ bool config_read_line(struct config_ctx *ctx, const char *input) char *line, *comment; bool ret = true; - /* This is what strchrnull is for, but that isn't portable. */ + /* This is what strchrnul is for, but that isn't portable. */ comment = strchr(input, COMMENT_CHAR); if (comment) len = comment - input; -- cgit v1.2.3-59-g8ed1b