From owner-svn-src-head@FreeBSD.ORG Sat Nov 17 16:47:05 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB4AB801; Sat, 17 Nov 2012 16:47:05 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D085E8FC08; Sat, 17 Nov 2012 16:47:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAHGl5TY040991; Sat, 17 Nov 2012 16:47:05 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAHGl59T040989; Sat, 17 Nov 2012 16:47:05 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201211171647.qAHGl59T040989@svn.freebsd.org> From: Ed Schouten Date: Sat, 17 Nov 2012 16:47:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243183 - head/usr.bin/w X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 16:47:06 -0000 Author: ed Date: Sat Nov 17 16:47:05 2012 New Revision: 243183 URL: http://svnweb.freebsd.org/changeset/base/243183 Log: Fix whitespace. MFC after: 1 week Modified: head/usr.bin/w/extern.h head/usr.bin/w/proc_compare.c Modified: head/usr.bin/w/extern.h ============================================================================== --- head/usr.bin/w/extern.h Sat Nov 17 11:55:19 2012 (r243182) +++ head/usr.bin/w/extern.h Sat Nov 17 16:47:05 2012 (r243183) @@ -30,7 +30,6 @@ * $FreeBSD$ */ - extern int use_ampm; struct kinfo_proc; Modified: head/usr.bin/w/proc_compare.c ============================================================================== --- head/usr.bin/w/proc_compare.c Sat Nov 17 11:55:19 2012 (r243182) +++ head/usr.bin/w/proc_compare.c Sat Nov 17 16:47:05 2012 (r243183) @@ -62,11 +62,11 @@ __FBSDID("$FreeBSD$"); * TODO - consider whether pctcpu should be used. */ -#define ISRUN(p) (((p)->ki_stat == SRUN) || ((p)->ki_stat == SIDL)) -#define TESTAB(a, b) ((a)<<1 | (b)) -#define ONLYA 2 -#define ONLYB 1 -#define BOTH 3 +#define ISRUN(p) (((p)->ki_stat == SRUN) || ((p)->ki_stat == SIDL)) +#define TESTAB(a, b) ((a)<<1 | (b)) +#define ONLYA 2 +#define ONLYB 1 +#define BOTH 3 int proc_compare(struct kinfo_proc *p1, struct kinfo_proc *p2) @@ -93,7 +93,7 @@ proc_compare(struct kinfo_proc *p1, stru return (p2->ki_pid > p1->ki_pid); /* tie - return highest pid */ } /* - * weed out zombies + * weed out zombies */ switch (TESTAB(p1->ki_stat == SZOMB, p2->ki_stat == SZOMB)) { case ONLYA: