shithub: riscv

Download patch

ref: ad38f0eb1cce3ea298b4641af13a070e224f9ade
parent: 872f83cebe6cc9234e9e672ad0408b9f59cf62bd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Feb 12 13:53:03 EST 2014

pool(2): fix ulong -> uintptr

--- a/sys/man/2/pool
+++ b/sys/man/2/pool
@@ -133,10 +133,10 @@
 typedef struct Pool Pool;
 struct Pool {
 	char*	name;
-	ulong	maxsize;	/* of entire Pool */
-	ulong	cursize;	/* of Pool */
-	ulong	curfree;	/* total free bytes in Pool */
-	ulong	curalloc;	/* total allocated bytes in Pool */
+	uintptr	maxsize;	/* of entire Pool */
+	uintptr	cursize;	/* of Pool */
+	uintptr	curfree;	/* total free bytes in Pool */
+	uintptr	curalloc;	/* total allocated bytes in Pool */
 	ulong	minarena;	/* smallest size of new arena */
 	ulong	quantum;	/* allocated blocks should be multiple of */
 	ulong	minblock;	/* smallest newly allocated block */