From owner-svn-src-all@FreeBSD.ORG Tue Jul 3 08:23:23 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BA4E1065670; Tue, 3 Jul 2012 08:23:23 +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 EA1558FC18; Tue, 3 Jul 2012 08:23:22 +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 q638NMrW030946; Tue, 3 Jul 2012 08:23:22 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q638NMcD030944; Tue, 3 Jul 2012 08:23:22 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201207030823.q638NMcD030944@svn.freebsd.org> From: Konstantin Belousov Date: Tue, 3 Jul 2012 08:23:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238061 - stable/9/usr.bin/killall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 08:23:23 -0000 Author: kib Date: Tue Jul 3 08:23:22 2012 New Revision: 238061 URL: http://svn.freebsd.org/changeset/base/238061 Log: MFC 237847: Do not test ki_stat as mask. Modified: stable/9/usr.bin/killall/killall.c Directory Properties: stable/9/usr.bin/killall/ (props changed) Modified: stable/9/usr.bin/killall/killall.c ============================================================================== --- stable/9/usr.bin/killall/killall.c Tue Jul 3 08:21:56 2012 (r238060) +++ stable/9/usr.bin/killall/killall.c Tue Jul 3 08:23:22 2012 (r238061) @@ -314,7 +314,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));