svn commit: r298492 - stable/10/usr.sbin/kldxref

Ed Maste emaste at FreeBSD.org
Fri Apr 22 21:33:13 UTC 2016


Author: emaste
Date: Fri Apr 22 21:33:11 2016
New Revision: 298492
URL: https://svnweb.freebsd.org/changeset/base/298492

Log:
  MFC r275940 (imp): Bump the largest record we can cope with from 1k to 8k.
  
  Other users of the hints file don't have any real limits, and longer
  records will need to be written shortly.

Modified:
  stable/10/usr.sbin/kldxref/kldxref.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/kldxref/kldxref.c
==============================================================================
--- stable/10/usr.sbin/kldxref/kldxref.c	Fri Apr 22 21:32:01 2016	(r298491)
+++ stable/10/usr.sbin/kldxref/kldxref.c	Fri Apr 22 21:33:11 2016	(r298492)
@@ -53,7 +53,7 @@
 
 #include "ef.h"
 
-#define	MAXRECSIZE	1024
+#define	MAXRECSIZE	8192
 #define check(val)	if ((error = (val)) != 0) break
 
 static int dflag;	/* do not create a hint file, only write on stdout */


More information about the svn-src-all mailing list