aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c380dda..a6983e5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -161,7 +161,7 @@ static void __strbuild(char *buf, int size,
len = vsnprintf(buf, size, fmt, ap);
va_end(ap);
- assert(n >= 0);
+ assert(len >= 0);
}
/* Convenience wrapper for __strbuild. */