git: 0d320eb5edc3 - main - ps(1): Whitespace cleanup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Apr 2025 12:23:19 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=0d320eb5edc37f6c1bfa5eabc0309350b87c08ad
commit 0d320eb5edc37f6c1bfa5eabc0309350b87c08ad
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-04-25 18:53:30 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-04-28 11:55:40 +0000
ps(1): Whitespace cleanup
No functional change (intended).
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
---
bin/ps/keyword.c | 2 +-
bin/ps/ps.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index a03f91ec2831..0c8edb06b562 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -268,7 +268,7 @@ parsefmt(const char *p, int user)
/*
* If an item contains an equals sign, it specifies a column
* header, may contain embedded separator characters and
- * is always the last item.
+ * is always the last item.
*/
if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=')
while ((cp = strsep(&tempstr, FMTSEP)) != NULL &&
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 3257f0885aa0..bd49fbe3b188 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1301,7 +1301,7 @@ saveuser(KINFO *ki)
/* A macro used to improve the readability of pscomp(). */
#define DIFF_RETURN(a, b, field) do { \
if ((a)->field != (b)->field) \
- return (((a)->field < (b)->field) ? -1 : 1); \
+ return (((a)->field < (b)->field) ? -1 : 1); \
} while (0)
static int