From c9b52332041c428013c496558800c419016e50f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 21 Sep 2018 12:37:37 +0200 Subject: Replace deprecated ustat using fstatfs This resolves FTBFS with glibc 2.28 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 830ea2b69faa81a8b0485a28fc329fd93d67ad46) --- kscd/libwm/include/wm_config.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kscd/libwm/include') diff --git a/kscd/libwm/include/wm_config.h b/kscd/libwm/include/wm_config.h index a8c574e6..caf7d17e 100644 --- a/kscd/libwm/include/wm_config.h +++ b/kscd/libwm/include/wm_config.h @@ -263,10 +263,9 @@ /* * There are two alternative ways of checking a device containing a * mounted filesystem. Define BSD_MOUNTTEST for the test using - * getmntent(). Undefine it for using the SVR4 ustat(). + * getmntent(). Undefine it for using the fstatfs(). * I built in the choice, because it's not clear which method should - * be used in Linux. The ustat manpage tells us since 1995, that - * fstat() should be used, but I'm too dumb to do so. + * be used in Linux. */ #define BSD_MOUNTTEST -- cgit v1.2.1