#endif
#ifndef FICLONE
-# define FICLONE _IOW(0x94, 9, int)
+# define FICLONE _IOW(0x94, 9, int)
#endif
#ifndef FICLONERANGE
-# define FICLONERANGE _IOW(0x94, 13, struct file_clone_range)
+# define FICLONERANGE _IOW(0x94, 13, struct file_clone_range)
struct file_clone_range {
int64_t src_fd;
uint64_t src_offset;
#endif
#ifndef FIDEDUPERANGE
-# define FIDEDUPERANGE _IOWR(0x94, 54, struct file_dedupe_range)
+# define FIDEDUPERANGE _IOWR(0x94, 54, struct file_dedupe_range)
struct file_dedupe_range_info {
int64_t dest_fd; /* in - destination file */
uint64_t dest_offset; /* in - start of extent in destination */
#endif /* HAVE_LINUX_FIEMAP_H */
int
-file_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
+file_ioctl(struct tcb *const tcp, const unsigned int code,
+ const kernel_ulong_t arg)
{
switch (code) {
case FICLONE: /* W */