summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index b1d50ad911..dbfaf179a1 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -945,7 +945,7 @@ int pstr_sprintf(pstring s, const char *fmt, ...)
int ret;
va_start(ap, fmt);
- ret = vsnprintf(PSTR_MUTABLE(s), PSTRING_LEN, fmt, ap);
+ ret = vsnprintf(s, PSTRING_LEN, fmt, ap);
va_end(ap);
return ret;
}
@@ -958,7 +958,7 @@ int fstr_sprintf(fstring s, const char *fmt, ...)
int ret;
va_start(ap, fmt);
- ret = vsnprintf(FSTR_MUTABLE(s), FSTRING_LEN, fmt, ap);
+ ret = vsnprintf(s, FSTRING_LEN, fmt, ap);
va_end(ap);
return ret;
}