svn commit: r275940 - head/usr.sbin/kldxref

Warner Losh imp at FreeBSD.org
Fri Dec 19 18:45:53 UTC 2014


Author: imp
Date: Fri Dec 19 18:45:52 2014
New Revision: 275940
URL: https://svnweb.freebsd.org/changeset/base/275940

Log:
  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:
  head/usr.sbin/kldxref/kldxref.c

Modified: head/usr.sbin/kldxref/kldxref.c
==============================================================================
--- head/usr.sbin/kldxref/kldxref.c	Fri Dec 19 13:24:52 2014	(r275939)
+++ head/usr.sbin/kldxref/kldxref.c	Fri Dec 19 18:45:52 2014	(r275940)
@@ -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