Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2019 06:02:04 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353430 - head/sys/vm
Message-ID:  <201910110602.x9B624uZ006674@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Fri Oct 11 06:02:03 2019
New Revision: 353430
URL: https://svnweb.freebsd.org/changeset/base/353430

Log:
  Fix braino in r353429
  
  cy@ points out that I got parameter order backwards between definition and
  invocation of the helper function.  He is totally correct.  The earlier
  version of this patch predated the XFree column so this is one I introduced,
  rather than the original author.
  
  Submitted by:	cy
  Reported by:	cy
  X-MFC-With:	r353429

Modified:
  head/sys/vm/uma_core.c

Modified: head/sys/vm/uma_core.c
==============================================================================
--- head/sys/vm/uma_core.c	Fri Oct 11 01:31:31 2019	(r353429)
+++ head/sys/vm/uma_core.c	Fri Oct 11 06:02:03 2019	(r353430)
@@ -4343,7 +4343,7 @@ uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *i
 #ifdef DDB
 static int64_t
 get_uma_stats(uma_keg_t kz, uma_zone_t z, uint64_t *allocs, uint64_t *used,
-    uint64_t *sleeps, uint64_t *xdomain, long *cachefree)
+    uint64_t *sleeps, long *cachefree, uint64_t *xdomain)
 {
 	uint64_t frees;
 	int i;



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