summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c
index 3b6a1ec..a48c887 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -108,7 +108,7 @@ fmt_argv(argv, cmd, maxlen)
if (ap == NULL)
sprintf(cp, "(%.*s)", maxlen, cmd);
else if (strncmp(cmdpart(argv[0]), cmd, maxlen) != 0)
- sprintf(cp, "%s (%.*s)", ap, maxlen, cmd);
+ sprintf(cp, "%s(%.*s)", ap, maxlen, cmd);
else
(void) strcpy(cp, ap);
return (cp);
OpenPOWER on IntegriCloud