]> granicus.if.org Git - procps-ng/commit
library: Cygwin doesnt have /proc/vmstat
authorCraig Small <csmall@dropbear.xyz>
Tue, 31 May 2022 10:41:30 +0000 (20:41 +1000)
committerCraig Small <csmall@dropbear.xyz>
Tue, 31 May 2022 10:41:30 +0000 (20:41 +1000)
commit4a183003a043825f128884f8fedd92026011b27b
treec13542c53e451cf677ef65ff979db3e0c7be4c81
parent20859f6fa6be49df053f06b7ce954890ae3affd7
library: Cygwin doesnt have /proc/vmstat

Make the vmstat_read_failed() return non-error for Cygwin as
it always will error because /proc/vmstat doesn't exist.

Patch from Achim of the Cygwin project.

Signed-off-by: Craig Small <csmall@dropbear.xyz>
proc/vmstat.c