diff --git a/mx_proc.c b/mx_proc.c index 4edc2b2a..fc7092c3 100644 --- a/mx_proc.c +++ b/mx_proc.c @@ -460,7 +460,7 @@ pid_t mx_proc_get_parent(pid_t pid) { FILE *statfile; pid_t parent; int n; - char linebuf[256]; // "2147483647 (max128chars) X 2147483647 " = 156 + char linebuf[64]; // "2147483647 (max15chars) X 2147483647 " = 43 if (pid == 0) // no need to try /proc/0/stat return -1;