Use BUFSIZ instead of PATH_MAX

This commit is contained in:
sin 2013-08-29 18:43:16 +01:00
parent 986e4981df
commit 9827789a47

View File

@ -20,7 +20,7 @@ main(int argc, char *argv[])
struct dirent *entry;
pid_t pid;
struct procstat ps;
char cmdline[PATH_MAX], *cmd, *p;
char cmdline[BUFSIZ], *cmd, *p;
int i, found = 0;
ARGBEGIN {