summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2015-02-16 17:19:28 +0000
committerpluknet <pluknet@FreeBSD.org>2015-02-16 17:19:28 +0000
commitacda8086f59fd855f3cd2ba096a5700de8f29e2e (patch)
tree3140ecf5168649ec81702de840fe9b736cab3936 /usr.bin/kdump
parentc01ffad8fcf8f1c3db269fb40ac726ff7b2c4d4a (diff)
downloadFreeBSD-src-acda8086f59fd855f3cd2ba096a5700de8f29e2e.zip
FreeBSD-src-acda8086f59fd855f3cd2ba096a5700de8f29e2e.tar.gz
kdump: sendfile(2) "flags" argument needs casting on 64-bit platforms.
MFC after: 1 week Sponsored by: Nginx, Inc.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index b8e5903..fe7bcd2 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -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;
OpenPOWER on IntegriCloud