kdump: sendfile(2) "flags" argument needs casting on 64-bit platforms.

MFC after:	1 week
Sponsored by:	Nginx, Inc.
This commit is contained in:
Sergey Kandaurov 2015-02-16 17:19:28 +00:00
parent 271aa1089b
commit 723ea6bc93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278857

View File

@ -1155,7 +1155,7 @@ ktrsyscall(struct ktr_syscall *ktr, u_int flags)
print_number(ip, narg, c);
print_number(ip, narg, c);
putchar(',');
sendfileflagsname(*ip);
sendfileflagsname(*(int *)ip);
ip++;
narg--;
break;