hi list,
by not calling getpagesize() twice we can save 2 bytes !

please apply,
 wh


  text    data     bss     dec     hex filename
   4351       0       0    4351    10ff time.o
   4353       0       0    4353    1101 time.o.org
--- time.c.org	2009-02-19 14:03:47.000000000 +0100
+++ time.c	2009-02-19 14:04:27.000000000 +0100
@@ -303,7 +303,7 @@
 				printf("%lu", ptok(pagesize, (UL) resp->ru.ru_ixrss) / cpu_ticks);
 				break;
 			case 'Z':	/* Page size.  */
-				printf("%u", getpagesize());
+				printf("%u", pagesize);
 				break;
 			case 'c':	/* Involuntary context switches.  */
 				printf("%lu", resp->ru.ru_nivcsw);
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to