diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2004-06-22 02:18:29 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2004-06-22 02:18:29 +0000 |
commit | 29d2bd4314706d23606fd78019aa6bc8d6429b75 (patch) | |
tree | 15126dd540f4f6f3ed40f2fecf7b63ea643a668e /bin/ps | |
parent | bdbc9a5cb9f2ae1898a1c2989402e3a74769061c (diff) | |
download | src-test2-29d2bd4314706d23606fd78019aa6bc8d6429b75.tar.gz src-test2-29d2bd4314706d23606fd78019aa6bc8d6429b75.zip |
Notes
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/fmt.c | 2 |
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); } |