diff options
author | gad <gad@FreeBSD.org> | 2004-06-22 02:18:29 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2004-06-22 02:18:29 +0000 |
commit | 0f6d1eb8fff4e168d25f80b3b0f51cec1d6dad48 (patch) | |
tree | 15126dd540f4f6f3ed40f2fecf7b63ea643a668e /bin/ps/fmt.c | |
parent | ed35e71589befee3ddbf8133d0ffa0fd310f9a02 (diff) | |
download | FreeBSD-src-0f6d1eb8fff4e168d25f80b3b0f51cec1d6dad48.zip FreeBSD-src-0f6d1eb8fff4e168d25f80b3b0f51cec1d6dad48.tar.gz |
Get rid of a cast to '(void) ' on the return of a call to strcpy.
Diffstat (limited to 'bin/ps/fmt.c')
-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 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); } |