From owner-svn-src-stable@FreeBSD.ORG Tue Jul 3 08:47:07 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D38C10656D3; Tue, 3 Jul 2012 08:47:07 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 184258FC0C; Tue, 3 Jul 2012 08:47:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q638l6gR032087; Tue, 3 Jul 2012 08:47:06 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q638l6MO032085; Tue, 3 Jul 2012 08:47:06 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201207030847.q638l6MO032085@svn.freebsd.org> From: Konstantin Belousov Date: Tue, 3 Jul 2012 08:47:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238065 - stable/8/usr.bin/killall X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 08:47:07 -0000 Author: kib Date: Tue Jul 3 08:47:06 2012 New Revision: 238065 URL: http://svn.freebsd.org/changeset/base/238065 Log: MFC 237847: Do not test ki_stat as mask. Modified: stable/8/usr.bin/killall/killall.c Directory Properties: stable/8/usr.bin/killall/ (props changed) Modified: stable/8/usr.bin/killall/killall.c ============================================================================== --- stable/8/usr.bin/killall/killall.c Tue Jul 3 08:46:26 2012 (r238064) +++ stable/8/usr.bin/killall/killall.c Tue Jul 3 08:47:06 2012 (r238065) @@ -326,7 +326,7 @@ main(int ac, char **av) mypid = getpid(); for (i = 0; i < nprocs; i++) { - if ((procs[i].ki_stat & SZOMB) == SZOMB && !zflag) + if (procs[i].ki_stat == SZOMB && !zflag) continue; thispid = procs[i].ki_pid; strlcpy(thiscmd, procs[i].ki_comm, sizeof(thiscmd));