ps: give more space in a pathname buffer

This commit is contained in:
Pierre Pronchery 2020-12-08 14:04:14 +01:00
parent 0d5c409a90
commit 664a0b1e2a

View File

@ -49,7 +49,7 @@ static int _ps(Prefs * prefs)
char const proc[] = "/proc";
struct passwd * pw = NULL;
struct group * gr = NULL;
char buf[256];
char buf[1024];
DIR * dir;
struct dirent * de;
long pid;