diff options
Diffstat (limited to 'source/fitz/printf.c')
-rw-r--r-- | source/fitz/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/printf.c b/source/fitz/printf.c index bc5ee898..e9d43dbb 100644 --- a/source/fitz/printf.c +++ b/source/fitz/printf.c @@ -279,7 +279,7 @@ fz_vfprintf(fz_context *ctx, FILE *file, const char *fmt, va_list old_args) { b = fz_malloc(ctx, l + 1); va_copy(args, old_args); - fz_vsnprintf(buffer, l + 1, fmt, args); + fz_vsnprintf(b, l + 1, fmt, args); va_copy_end(args); } |