Module Name:    src
Committed By:   christos
Date:           Mon Mar  4 17:15:37 UTC 2019

Modified Files:
        src/external/bsd/jemalloc/dist/src: stats.c

Log Message:
rename for shadowing


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/jemalloc/dist/src/stats.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/jemalloc/dist/src/stats.c
diff -u src/external/bsd/jemalloc/dist/src/stats.c:1.1.1.1 src/external/bsd/jemalloc/dist/src/stats.c:1.2
--- src/external/bsd/jemalloc/dist/src/stats.c:1.1.1.1	Mon Mar  4 12:10:23 2019
+++ src/external/bsd/jemalloc/dist/src/stats.c	Mon Mar  4 12:15:37 2019
@@ -1008,10 +1008,10 @@ stats_general_print(emitter_t *emitter) 
 	emitter_kv(emitter, "nbins", "Number of bin size classes",
 	    emitter_type_unsigned, &nbins);
 
-	unsigned nhbins;
-	CTL_GET("arenas.nhbins", &nhbins, unsigned);
+	unsigned nh_bins;
+	CTL_GET("arenas.nhbins", &nh_bins, unsigned);
 	emitter_kv(emitter, "nhbins", "Number of thread-cache bin size classes",
-	    emitter_type_unsigned, &nhbins);
+	    emitter_type_unsigned, &nh_bins);
 
 	/*
 	 * We do enough mallctls in a loop that we actually want to omit them

Reply via email to