ps: give more space in a pathname buffer
This commit is contained in:
parent
0d5c409a90
commit
664a0b1e2a
2
src/ps.c
2
src/ps.c
|
@ -49,7 +49,7 @@ static int _ps(Prefs * prefs)
|
||||||
char const proc[] = "/proc";
|
char const proc[] = "/proc";
|
||||||
struct passwd * pw = NULL;
|
struct passwd * pw = NULL;
|
||||||
struct group * gr = NULL;
|
struct group * gr = NULL;
|
||||||
char buf[256];
|
char buf[1024];
|
||||||
DIR * dir;
|
DIR * dir;
|
||||||
struct dirent * de;
|
struct dirent * de;
|
||||||
long pid;
|
long pid;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user