Skip to content

Fix comment in mx_proc #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion mx_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down