aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2009-05-18 01:45:52 +0000
committerBrian Somers <brian@FreeBSD.org>2009-05-18 01:45:52 +0000
commit8ba7efdad8f0ead5895fa504f2601bc3848ca645 (patch)
tree993404de1a0cc9a8023af6a00ea6cd1146b91ca1 /bin
parente9902ec0a67dac9c99c7a05435277bce5410772d (diff)
downloadsrc-8ba7efdad8f0ead5895fa504f2601bc3848ca645.tar.gz
src-8ba7efdad8f0ead5895fa504f2601bc3848ca645.zip
Remove redundant whitespace
Notes
Notes: svn path=/head/; revision=192280
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/ps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 99c16d758b99..21f6a7e849b3 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -764,7 +764,7 @@ addelem_tty(struct listinfo *inf, const char *elem)
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 char *elem)
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? */