summaryrefslogtreecommitdiff
path: root/src/util/u_debug.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2018-11-20 11:59:28 +0000
committerEric Engestrom <eric.engestrom@intel.com>2019-07-19 22:39:38 +0100
commitdffeaa55dd1155d7a1e8feb5ecfc54fff688fcd8 (patch)
treea232b3bef0f7251f90cd3a279674218c46a60d65 /src/util/u_debug.c
parent00e23cd96998deae429508efa10545be13420379 (diff)
downloadmesa-dffeaa55dd1155d7a1e8feb5ecfc54fff688fcd8.tar.gz
mesa-dffeaa55dd1155d7a1e8feb5ecfc54fff688fcd8.tar.bz2
mesa-dffeaa55dd1155d7a1e8feb5ecfc54fff688fcd8.zip
util: use standard name for snprintf()
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/util/u_debug.c')
-rw-r--r--src/util/u_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/u_debug.c b/src/util/u_debug.c
index adf62ae9b4a..9e547f508ca 100644
--- a/src/util/u_debug.c
+++ b/src/util/u_debug.c
@@ -330,7 +330,7 @@ debug_dump_enum(const struct debug_named_value *names,
++names;
}
- util_snprintf(rest, sizeof(rest), "0x%08lx", value);
+ snprintf(rest, sizeof(rest), "0x%08lx", value);
return rest;
}
@@ -354,7 +354,7 @@ debug_dump_enum_noprefix(const struct debug_named_value *names,
++names;
}
- util_snprintf(rest, sizeof(rest), "0x%08lx", value);
+ snprintf(rest, sizeof(rest), "0x%08lx", value);
return rest;
}
@@ -387,7 +387,7 @@ debug_dump_flags(const struct debug_named_value *names, unsigned long value)
else
first = 0;
- util_snprintf(rest, sizeof(rest), "0x%08lx", value);
+ snprintf(rest, sizeof(rest), "0x%08lx", value);
strncat(output, rest, sizeof(output) - strlen(output) - 1);
output[sizeof(output) - 1] = '\0';
}