diff options
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h index fcd0ac9..c1070a8 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -268,7 +268,7 @@ _FORTIFY_FN(vasprintf) int vasprintf(char **strp, const char *fmt, __builtin_va_ | |||
| 268 | #undef printf | 268 | #undef printf |
| 269 | #undef fprintf | 269 | #undef fprintf |
| 270 | 270 | ||
| 271 | __fh_access(read_write, 1, 2) | 271 | __fh_access(write_only, 1, 2) |
| 272 | __fh_access(read_only, 3) | 272 | __fh_access(read_only, 3) |
| 273 | __fh_format(printf, 3, 4) | 273 | __fh_format(printf, 3, 4) |
| 274 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, | 274 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, |
| @@ -286,7 +286,7 @@ _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, | |||
| 286 | } | 286 | } |
| 287 | 287 | ||
| 288 | __fh_format(printf, 2, 3) | 288 | __fh_format(printf, 2, 3) |
| 289 | __fh_access(read_write, 1) | 289 | __fh_access(write_only, 1) |
| 290 | __fh_access(read_only, 2) | 290 | __fh_access(read_only, 2) |
| 291 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | 291 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) |
| 292 | { | 292 | { |
