diff options
Diffstat (limited to 'man3/printf.3')
| -rw-r--r-- | man3/printf.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/printf.3 b/man3/printf.3 index c57f056016..a304257544 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -1054,10 +1054,10 @@ make_message(const char *fmt, ...) va_end(ap); /* Check error code */ - + if (n < 0) return NULL; - + /* If that worked, return the string */ if (n < size) @@ -1066,7 +1066,7 @@ make_message(const char *fmt, ...) /* Else try again with more space */ size = n + 1; /* Precisely what is needed */ - + if ((np = realloc (p, size)) == NULL) { free(p); |
