Linux: Remove attribute access from sched_getattr (bug 32781)

The GCC attribute expects an element count, not bytes.
This commit is contained in:
Florian Weimer 2025-03-12 10:23:47 +01:00
parent 74d463c50b
commit 74c68fa61b
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ int sched_setattr (pid_t tid, struct sched_attr *attr, unsigned int flags)
store it in *ATTR. */
int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size,
unsigned int flags)
__THROW __nonnull ((2)) __attr_access ((__write_only__, 2, 3));
__THROW __nonnull ((2));
#endif