summaryrefslogtreecommitdiff
path: root/rt/bits/mqueue2.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-04-29 15:34:20 +0200
committerMarek Polacek <polacek@redhat.com>2012-04-29 15:34:20 +0200
commit5ac3ea17df811a71fa64aff78ea1b900facd3364 (patch)
tree47a842e0be1ca4d8c98ecc86d18330d61047560a /rt/bits/mqueue2.h
parentecf0ebfb04f6e31e3ba709521b6955d5f86ff724 (diff)
downloadglibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.tar.gz
Fix attributes for fortify functions.
Diffstat (limited to 'rt/bits/mqueue2.h')
-rw-r--r--rt/bits/mqueue2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/bits/mqueue2.h b/rt/bits/mqueue2.h
index 87365304c2..b92194a660 100644
--- a/rt/bits/mqueue2.h
+++ b/rt/bits/mqueue2.h
@@ -34,7 +34,7 @@ __errordecl (__mq_open_wrong_number_of_args,
__errordecl (__mq_open_missing_mode_and_attr,
"mq_open with O_CREAT in second argument needs 4 arguments");
-__extern_always_inline mqd_t
+__fortify_function mqd_t
__NTH (mq_open (const char *__name, int __oflag, ...))
{
if (__va_arg_pack_len () != 0 && __va_arg_pack_len () != 2)