On Sat, 24 Apr 2010 22:31:56 +0200 Thomas Pfaff <tpf...@tp76.info> wrote: > > Reverting top.c to revision 1.73 and recompiling makes it work again. >
And this diff should fix it (just an extra ; there) ... Index: top.c =================================================================== RCS file: /cvs/src/usr.bin/top/top.c,v retrieving revision 1.74 diff -u -p -r1.74 top.c --- top.c 21 Apr 2010 11:29:59 -0000 1.74 +++ top.c 24 Apr 2010 21:49:33 -0000 @@ -232,7 +232,7 @@ parseargs(int ac, char **av) case 'g': /* grep command name */ free(ps.command); - if((ps.command = strdup(optarg)) == NULL); + if((ps.command = strdup(optarg)) == NULL) err(1, NULL); break;