ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 9827789a47f19dcad0e77fabc674d0ddd93260ff
parent 986e4981dfbb75ec03ece57b7632523f368f0110
Author: sin <sin@2f30.org>
Date:   Thu Aug 29 18:43:16 +0100

Use BUFSIZ instead of PATH_MAX

Diffstat:
pidof.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pidof.c b/pidof.c @@ -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 {