summaryrefslogtreecommitdiffstats
path: root/dstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'dstring.c')
-rw-r--r--dstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dstring.c b/dstring.c
index 475bf65..58e74fe 100644
--- a/dstring.c
+++ b/dstring.c
@@ -192,7 +192,7 @@ int dstrvcatf(char **str, const char *format, va_list args) {
tail = *str + len;
ret = vsnprintf(tail, tail_len + 1, format, copy);
if (ret < 0 || (size_t)ret != tail_len) {
- assert(false);
+ assert(!"Length of formatted string changed");
goto fail;
}
}