diff options
| author | sin | 2015-02-28 20:21:34 +0000 |
|---|---|---|
| committer | sin | 2015-02-28 20:21:34 +0000 |
| commit | de499b92ba1539dde59a8f788807950229d03897 (patch) | |
| tree | 24bc387769f26682878a857a0e0cfe7552810bb7 /include | |
| parent | 91db6f58998609a44fdd119d7faf0010ad28848c (diff) | |
Minor style fix
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index aeff658..1217a0f 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -37,7 +37,7 @@ __fortify_vsnprintf(char *s, size_t n, const char *fmt, __builtin_va_list ap) | |||
| 37 | 37 | ||
| 38 | #undef snprintf | 38 | #undef snprintf |
| 39 | #define snprintf(s, n, fmt, ...) ({ \ | 39 | #define snprintf(s, n, fmt, ...) ({ \ |
| 40 | size_t _n = (n); \ | 40 | size_t _n = n; \ |
| 41 | size_t bos = __builtin_object_size(s, 0); \ | 41 | size_t bos = __builtin_object_size(s, 0); \ |
| 42 | if (_n > bos) \ | 42 | if (_n > bos) \ |
| 43 | __builtin_trap(); \ | 43 | __builtin_trap(); \ |
