diff options
| author | sin | 2015-01-29 20:41:17 +0000 |
|---|---|---|
| committer | sin | 2015-01-29 20:41:17 +0000 |
| commit | 03289c3954f5a61643e0fbcbce901487c7c4037a (patch) | |
| tree | c1905060a06ec044acbc626b7f713b8e4474c9af | |
| parent | 131211ad478ea4f8712c0cc17a2846fe8e0012cf (diff) | |
Fix typo
| -rw-r--r-- | include/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 21e853e..962701d 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -77,7 +77,7 @@ __fortify_stpncpy(char *__restrict dest, const char *__restrict src, size_t n) | |||
| 77 | { | 77 | { |
| 78 | size_t bos = __builtin_object_size(dest, 0); | 78 | size_t bos = __builtin_object_size(dest, 0); |
| 79 | 79 | ||
| 80 | if (__builtin_costant_p(n) && n > bos) | 80 | if (__builtin_constant_p(n) && n > bos) |
| 81 | __stpncpy_error(); | 81 | __stpncpy_error(); |
| 82 | 82 | ||
| 83 | if (n > bos) | 83 | if (n > bos) |
