Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 01:26:23 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r193671 - user/kmacy/releng_7_2_fcs/lib/libpmc
Message-ID:  <200906080126.n581QN7T011477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Mon Jun  8 01:26:23 2009
New Revision: 193671
URL: http://svn.freebsd.org/changeset/base/193671

Log:
  fix large buffer handling

Modified:
  user/kmacy/releng_7_2_fcs/lib/libpmc/pmclog.c

Modified: user/kmacy/releng_7_2_fcs/lib/libpmc/pmclog.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/lib/libpmc/pmclog.c	Sun Jun  7 23:49:15 2009	(r193670)
+++ user/kmacy/releng_7_2_fcs/lib/libpmc/pmclog.c	Mon Jun  8 01:26:23 2009	(r193671)
@@ -483,6 +483,7 @@ pmclog_read(void *cookie, struct pmclog_
 
 
 	 /* Retrieve one event from the byte stream. */
+	ps->ps_len;
 	retval = pmclog_get_event(ps, &ps->ps_data, &ps->ps_len, ev);
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906080126.n581QN7T011477>