sysdeps: Correct fallback signature of Linux close_range()

Linux generally declares syscalls with flags as type int. It's the same
ABI, but a slightly different API, and it seems better for our fallback
definition to match it exactly.

Related to dbus/dbus#453.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2023-06-06 13:05:41 +01:00
parent 80392649da
commit 66772a683d

View file

@ -153,7 +153,7 @@
static inline int
close_range (unsigned int first,
unsigned int last,
unsigned int flags)
int flags)
{
return syscall (__NR_close_range, first, last, flags);
}