Date: Mon, 23 Feb 2015 08:45:43 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r279201 - stable/10/usr.bin/kdump Message-ID: <201502230845.t1N8jhg6088392@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pluknet Date: Mon Feb 23 08:45:42 2015 New Revision: 279201 URL: https://svnweb.freebsd.org/changeset/base/279201 Log: MFC r278857: kdump: sendfile(2) "flags" argument needs casting on 64-bit platforms. Sponsored by: Nginx, Inc. Modified: stable/10/usr.bin/kdump/kdump.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/kdump/kdump.c ============================================================================== --- stable/10/usr.bin/kdump/kdump.c Mon Feb 23 07:35:27 2015 (r279200) +++ stable/10/usr.bin/kdump/kdump.c Mon Feb 23 08:45:42 2015 (r279201) @@ -1076,7 +1076,7 @@ ktrsyscall(struct ktr_syscall *ktr, u_in print_number(ip, narg, c); print_number(ip, narg, c); putchar(','); - sendfileflagsname(*ip); + sendfileflagsname(*(int *)ip); ip++; narg--; break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502230845.t1N8jhg6088392>