diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c index 3b6a1ec1c8b4..a48c887d527f 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);