aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-05-05 13:43:22 +0200
committerMattias Andrée <maandree@kth.se>2017-05-05 13:43:22 +0200
commit13a39a9a8671ef0cd5b1f0e78b8462eebc02af65 (patch)
treeba9ddbfb90655cab5d91ba0922507a692af568de
parentallocsize is dangerous (diff)
downloadslibc-13a39a9a8671ef0cd5b1f0e78b8462eebc02af65.tar.gz
slibc-13a39a9a8671ef0cd5b1f0e78b8462eebc02af65.tar.bz2
slibc-13a39a9a8671ef0cd5b1f0e78b8462eebc02af65.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--include/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 1abe26d..320ab06 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -337,7 +337,7 @@ int asprintf(char** restrict, const char* restrict, ...)
if (*buffer = NULL, __size += 1, __r >= 0) \
*buffer = __builtin_alloca((size_t)__size * sizeof(char)), \
__r = sprintf(*buffer, format, ##__VA_ARGS__); \
- __r; \
+ __r; \
})
# endif