summaryrefslogtreecommitdiffstats
path: root/bin/ps/fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/fmt.c')
-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 d6e0109..1e9fed8 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -127,6 +127,6 @@ fmt_argv(char **argv, char *cmd, size_t maxlen)
else if (strncmp(cmdpart(argv[0]), cmd, maxlen) != 0)
sprintf(cp, "%s (%.*s)", ap, (int)maxlen, cmd);
else
- (void) strcpy(cp, ap);
+ strcpy(cp, ap);
return (cp);
}
OpenPOWER on IntegriCloud