From 0d320eb5edc37f6c1bfa5eabc0309350b87c08ad Mon Sep 17 00:00:00 2001 From: Olivier Certner Date: Fri, 25 Apr 2025 20:53:30 +0200 Subject: [PATCH] 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 a03f91ec283..0c8edb06b56 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 3257f0885aa..bd49fbe3b18 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