=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/w/w.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- src/usr.bin/w/w.c 2013/11/20 21:00:33 1.54 +++ src/usr.bin/w/w.c 2014/07/04 05:58:31 1.55 @@ -1,4 +1,4 @@ -/* $OpenBSD: w.c,v 1.54 2013/11/20 21:00:33 deraadt Exp $ */ +/* $OpenBSD: w.c,v 1.55 2014/07/04 05:58:31 guenther Exp $ */ /*- * Copyright (c) 1980, 1991, 1993, 1994 @@ -221,7 +221,7 @@ if (kp == NULL) errx(1, "%s", kvm_geterr(kd)); for (i = 0; i < nentries; i++, kp++) { - if (kp->p_stat == SIDL || kp->p_stat == SZOMB) + if (kp->p_psflags & (PS_EMBRYO | PS_ZOMBIE)) continue; for (ep = ehead; ep != NULL; ep = ep->next) { /* ftp is a special case. */