summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/string.h2
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)