diff options
author | Eric Engestrom <[email protected]> | 2018-11-20 11:24:55 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-19 22:39:38 +0100 |
commit | 09a8a39940ad02951b62454a5d222af669fef694 (patch) | |
tree | 0173b84bc6eb25db0b28d428ce5a0783cf983b97 /src/amd/common/ac_debug.c | |
parent | 367bb55c17abce6b571ab3cf36e9ea95f4c2dfca (diff) |
util: use standard name for strchrnul()
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/amd/common/ac_debug.c')
-rw-r--r-- | src/amd/common/ac_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |