Re: vmstat WARNS6 cleanup

看板DFBSD_submit作者時間21年前 (2005/01/09 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/10 (看更多)
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
文章代碼(AID): #11u5Wo00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11u5Wo00 (DFBSD_submit)