summaryrefslogtreecommitdiff
path: root/bin/ps
diff options
context:
space:
mode:
authorGarance A Drosehn <gad@FreeBSD.org>2004-06-22 02:18:29 +0000
committerGarance A Drosehn <gad@FreeBSD.org>2004-06-22 02:18:29 +0000
commit29d2bd4314706d23606fd78019aa6bc8d6429b75 (patch)
tree15126dd540f4f6f3ed40f2fecf7b63ea643a668e /bin/ps
parentbdbc9a5cb9f2ae1898a1c2989402e3a74769061c (diff)
downloadsrc-test2-29d2bd4314706d23606fd78019aa6bc8d6429b75.tar.gz
src-test2-29d2bd4314706d23606fd78019aa6bc8d6429b75.zip
Notes
Diffstat (limited to 'bin/ps')
-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 d6e0109b526e..1e9fed8710f0 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);
}