diff options
| author | Juli Mallett <jmallett@FreeBSD.org> | 2002-08-19 03:52:36 +0000 |
|---|---|---|
| committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-08-19 03:52:36 +0000 |
| commit | 6879bea818b8bbf6d3b89560fb6b151a52eed368 (patch) | |
| tree | ffe262fdfb41753acc23726161e4d42dab5dcd44 /lib/libc/stdio/asprintf.c | |
| parent | 3a7fc8ce5965f32b43428fe33fb1d0546fdbb782 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/asprintf.c')
| -rw-r--r-- | lib/libc/stdio/asprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/asprintf.c b/lib/libc/stdio/asprintf.c index 1eddf57de830..95c22b62a4da 100644 --- a/lib/libc/stdio/asprintf.c +++ b/lib/libc/stdio/asprintf.c @@ -54,7 +54,7 @@ asprintf(char **str, char const *fmt, ...) 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); /* Use unlocked __vfprintf */ |
