=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/pftop.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/systat/pftop.c 2009/04/23 12:58:44 1.11 +++ src/usr.bin/systat/pftop.c 2009/06/10 03:42:58 1.12 @@ -1,4 +1,4 @@ -/* $Id: pftop.c,v 1.11 2009/04/23 12:58:44 henning Exp $ */ +/* $Id: pftop.c,v 1.12 2009/06/10 03:42:58 canacar Exp $ */ /* * Copyright (c) 2001, 2007 Can Erkin Acar * Copyright (c) 2001 Daniel Hartmeier @@ -1309,11 +1309,10 @@ else if (pr->log == 2) print_fld_str(FLD_LOG, "All"); - printf("%u ", pr->action); -/* if (pr->action >= numact) + if (pr->action >= numact) print_fld_uint(FLD_ACTION, pr->action); else print_fld_str(FLD_ACTION, actiontypes[pr->action]); -*/ + if (pr->proto) { struct protoent *p = getprotobynumber(pr->proto);