Fix swallowing in dwm + no compile error.
This commit is contained in:
parent
6ef870b803
commit
8feda0c329
@ -2826,7 +2826,7 @@ getparentprocess(pid_t p)
|
|||||||
if (!(f = fopen(buf, "r")))
|
if (!(f = fopen(buf, "r")))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fscanf(f, "%*u %*s %*c %u", &v);
|
if (fscanf(f, "%*u %*s %*c %u", &v));
|
||||||
fclose(f);
|
fclose(f);
|
||||||
#endif /* __linux__*/
|
#endif /* __linux__*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user