Use BUFSIZ instead of PATH_MAX

This commit is contained in:
sin 2013-08-29 18:43:16 +01:00
parent 986e4981df
commit 9827789a47
1 changed files with 1 additions and 1 deletions

View File

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