Date: Fri, 31 Oct 2008 10:14:28 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184500 - head/sys/i386/i386 Message-ID: <200810311014.m9VAEScx076550@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Oct 31 10:14:28 2008 New Revision: 184500 URL: http://svn.freebsd.org/changeset/base/184500 Log: The file was inadvertently excluded from r184499. Modified: head/sys/i386/i386/minidump_machdep.c Modified: head/sys/i386/i386/minidump_machdep.c ============================================================================== --- head/sys/i386/i386/minidump_machdep.c Fri Oct 31 10:11:35 2008 (r184499) +++ head/sys/i386/i386/minidump_machdep.c Fri Oct 31 10:14:28 2008 (r184500) @@ -102,7 +102,7 @@ blk_write(struct dumperinfo *di, char *p int error, i, c; u_int maxdumpsz; - maxdumpsz = di->maxiosize; + maxdumpsz = min(di->maxiosize, MAXDUMPPGS * PAGE_SIZE); if (maxdumpsz == 0) /* seatbelt */ maxdumpsz = PAGE_SIZE; error = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810311014.m9VAEScx076550>