summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2015-02-23 08:45:42 +0000
committerpluknet <pluknet@FreeBSD.org>2015-02-23 08:45:42 +0000
commitbddd935ed9588effa40aa2a0581dc92d44e4c10c (patch)
tree008c73e8a1743b198317ce560e433915058f6d1a /usr.bin/kdump
parentf19f98c27b15f0d67da000e93edd0d7ca63aa55e (diff)
downloadFreeBSD-src-bddd935ed9588effa40aa2a0581dc92d44e4c10c.zip
FreeBSD-src-bddd935ed9588effa40aa2a0581dc92d44e4c10c.tar.gz
MFC r278857:
kdump: sendfile(2) "flags" argument needs casting on 64-bit platforms. 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 d4ecfb3..d8fa9b4 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1076,7 +1076,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