Update buf size in writepid

This commit is contained in:
Ashish Kumar Yadav 2020-07-24 22:27:19 +05:30
parent 7f5f5184be
commit ca53638a17

View file

@ -255,7 +255,7 @@ void
writepid() writepid()
{ {
int fd; int fd;
char buf[20]; char buf[8]; /* maximum possible pid in linux is 4194304 */
struct flock fl; struct flock fl;
ssize_t len; ssize_t len;