From 09a8a39940ad02951b62454a5d222af669fef694 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 20 Nov 2018 11:24:55 +0000 Subject: util: use standard name for strchrnul() Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt Reviewed-by: Emil Velikov Reviewed-by: Eric Anholt --- src/amd/common/ac_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/common/ac_debug.c') diff --git a/src/amd/common/ac_debug.c b/src/amd/common/ac_debug.c index 1632106fdb9..36a01fd8bf7 100644 --- a/src/amd/common/ac_debug.c +++ b/src/amd/common/ac_debug.c @@ -542,7 +542,7 @@ static void format_ib_output(FILE *f, char *out) if (indent) print_spaces(f, indent); - char *end = util_strchrnul(out, '\n'); + char *end = strchrnul(out, '\n'); fwrite(out, end - out, 1, f); fputc('\n', f); /* always end with a new line */ if (!*end) -- cgit v1.2.3