diff --git a/bin/ps/ps.c b/bin/ps/ps.c index f507b6a..0263b64 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -890,7 +890,7 @@ add_list(struct listinfo *inf, const char *argp) char elemcopy[PATH_MAX]; if (*argp == 0) - inf->addelem(inf, elemcopy); + inf->addelem(inf, ""); while (*argp != '\0') { while (*argp != '\0' && strchr(W_SEP, *argp) != NULL) argp++;