From owner-svn-src-all@FreeBSD.ORG Mon May 18 01:45:52 2009 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 E777A1065674; Mon, 18 May 2009 01:45:52 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D555D8FC0C; Mon, 18 May 2009 01:45:52 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4I1jq6j045707; Mon, 18 May 2009 01:45:52 GMT (envelope-from brian@svn.freebsd.org) Received: (from brian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4I1jqm4045706; Mon, 18 May 2009 01:45:52 GMT (envelope-from brian@svn.freebsd.org) Message-Id: <200905180145.n4I1jqm4045706@svn.freebsd.org> From: Brian Somers Date: Mon, 18 May 2009 01:45:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192280 - head/bin/ps 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: Mon, 18 May 2009 01:45:53 -0000 Author: brian Date: Mon May 18 01:45:52 2009 New Revision: 192280 URL: http://svn.freebsd.org/changeset/base/192280 Log: Remove redundant whitespace Modified: head/bin/ps/ps.c Modified: head/bin/ps/ps.c ============================================================================== --- head/bin/ps/ps.c Mon May 18 01:07:38 2009 (r192279) +++ head/bin/ps/ps.c Mon May 18 01:45:52 2009 (r192280) @@ -764,7 +764,7 @@ addelem_tty(struct listinfo *inf, const strlcat(pathbuf2, elem, sizeof(pathbuf2)); if (stat(pathbuf2, &sb) == 0 && S_ISCHR(sb.st_mode)) { /* No need to repeat stat() && S_ISCHR() checks */ - ttypath = NULL; + ttypath = NULL; break; } /* Check to see if /dev/pts/${elem} exists */ @@ -772,7 +772,7 @@ addelem_tty(struct listinfo *inf, const strlcat(pathbuf3, elem, sizeof(pathbuf3)); if (stat(pathbuf3, &sb) == 0 && S_ISCHR(sb.st_mode)) { /* No need to repeat stat() && S_ISCHR() checks */ - ttypath = NULL; + ttypath = NULL; break; } break; @@ -992,7 +992,6 @@ descendant_sort(KINFO *ki, int items) ki[src].ki_d.prefix[n * 2] = path[n / 8] & 1 << (n % 8) ? '|' : ' '; ki[src].ki_d.prefix[n * 2 + 1] = ' '; - } if (n == lvl - 2) { /* Have I any more siblings? */