diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 4d93cd152f4..7e37217f021 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -274,7 +274,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 98d95eb08aa..cd934918ee3 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1343,7 +1343,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