summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vasprintf.c
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-08-19 03:52:36 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-08-19 03:52:36 +0000
commit6879bea818b8bbf6d3b89560fb6b151a52eed368 (patch)
treeffe262fdfb41753acc23726161e4d42dab5dcd44 /lib/libc/stdio/vasprintf.c
parent3a7fc8ce5965f32b43428fe33fb1d0546fdbb782 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/vasprintf.c')
-rw-r--r--lib/libc/stdio/vasprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/vasprintf.c b/lib/libc/stdio/vasprintf.c
index 498e7bbefd6c8..9d55725eae0ac 100644
--- a/lib/libc/stdio/vasprintf.c
+++ b/lib/libc/stdio/vasprintf.c
@@ -53,7 +53,7 @@ vasprintf(str, fmt, ap)
errno = ENOMEM;
return (-1);
}
- f._bf._size = f._w = 127; /* Leave room for the NULL */
+ f._bf._size = f._w = 127; /* Leave room for the NUL */
f._extra = &ext;
INITEXTRA(&f);
ret = __vfprintf(&f, fmt, ap);