plan 9 kernel history: overview | file list | diff list

1998/0825/port/xalloc.c (diff list | history)

1998/0522/sys/src/9/port/xalloc.c:198,2041998/0825/sys/src/9/port/xalloc.c:198,204 (short | long | prev | next)
Bug fix: print format.
rsc Fri Mar 4 12:44:25 2005
1997/1101    
 
	if(xlists.flist == nil) { 
		iunlock(&xlists); 
		print("xfree: no free holes, leaked %d bytes\n", size); 
1998/0825    
		print("xfree: no free holes, leaked %lud bytes\n", size); 
1997/1101    
		return; 
	} 
 
1998/0522/sys/src/9/port/xalloc.c:225,2311998/0825/sys/src/9/port/xalloc.c:225,231
1997/1101    
	print("%d holes free\n", i); 
	i = 0; 
	for(h = xlists.table; h; h = h->link) { 
		print("%.8lux %.8lux %d\n", h->addr, h->top, h->size); 
1998/0825    
		print("%.8lux %.8lux %lud\n", h->addr, h->top, h->size); 
1997/1101    
		i += h->size; 
	} 
	print("%d bytes free\n", i); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)