mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-19 16:38:30 +02:00
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:
parent
80392649da
commit
66772a683d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue