getopt: fix null pointer arithmetic ub
[musl] / src / linux / name_to_handle_at.c
1 #define _GNU_SOURCE
2 #include <fcntl.h>
3 #include "syscall.h"
4
5 int name_to_handle_at(int dirfd, const char *pathname,
6         struct file_handle *handle, int *mount_id, int flags)
7 {
8         return syscall(SYS_name_to_handle_at, dirfd,
9                 pathname, handle, mount_id, flags);
10 }