Update buf size in writepid
This commit is contained in:
parent
7f5f5184be
commit
ca53638a17
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue