vmstat WARNS6 cleanup
Joerg Sonnenberger
joerg at britannica.bec.de
Sat Jan 8 13:35:17 PST 2005
On Sat, Jan 08, 2005 at 10:26:08PM +0100, Peter Schuller wrote:
> @@ -230,7 +242,8 @@
> if (c > 0) {
> warnx("undefined symbols:");
> for (c = 0;
> - c < sizeof(namelist)/sizeof(namelist[0]); c++)
> + c < (int)(sizeof(namelist)/sizeof(namelist[0]));
> + c++)
> if (namelist[c].n_type == 0)
> fprintf(stderr, " %s",
> namelist[c].n_name);
I used __arysize(namelist) here, rest is find. Thanks.
Joerg
More information about the Submit
mailing list