Date: Sun, 15 Sep 2002 19:32:54 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17549 for review Message-ID: <200209160232.g8G2Wsa1002427@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17549 Change 17549 by julian@julian_jules1 on 2002/09/15 19:32:19 This got left out in the last merge from -current I have no idea why.. Affected files ... .. //depot/projects/kse/bin/ps/print.c#13 edit Differences ... ==== //depot/projects/kse/bin/ps/print.c#13 (text+ko) ==== @@ -37,7 +37,7 @@ #endif /* not lint */ #endif #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/bin/ps/print.c,v 1.69 2002/07/11 17:28:29 bde Exp $"); +__FBSDID("$FreeBSD: src/bin/ps/print.c,v 1.70 2002/09/13 07:13:33 peter Exp $"); #include <sys/param.h> #include <sys/time.h> @@ -65,7 +65,7 @@ #include "lomac.h" #include "ps.h" -static void printval(void *, VAR *); +#define ps_pgtok(a) (((a) * getpagesize()) / 1024) void printheader(void) @@ -477,10 +477,6 @@ } } -#ifndef pgtok -#define pgtok(a) (((a)*getpagesize())/1024) -#endif - void vsize(KINFO *k, VARENT *ve) { @@ -629,7 +625,7 @@ VAR *v; v = ve->var; - (void)printf("%*ld", v->width, (long)pgtok(k->ki_p->ki_tsize)); + (void)printf("%*ld", v->width, (long)ps_pgtok(k->ki_p->ki_tsize)); } void To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209160232.g8G2Wsa1002427>