aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index e3b6257..b8cdbe2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -393,7 +393,7 @@ int slirp_fmt(char *str, size_t size, const char *format, ...)
va_end(args);
if (rv > size) {
- g_critical("vsnprintf() truncation");
+ g_critical("slirp_fmt() truncation");
}
return MIN(rv, size);
@@ -416,7 +416,7 @@ int slirp_fmt0(char *str, size_t size, const char *format, ...)
va_end(args);
if (rv >= size) {
- g_critical("vsnprintf() truncation");
+ g_critical("slirp_fmt0() truncation");
if (size > 0)
str[size - 1] = '\0';
rv = size;