X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffsusage.m4;h=08bf06c9abde8ac449cfe1a4d05c3ee4b776ac08;hb=1588e24a623bfeb3b01fefac5c4861004bb303f7;hp=0dfd2ddd7b43b9b611c429b04611ca6b2631dbb1;hpb=19242a2c9e0d4c83f16002a2b2e54f5fdec73184;p=gnulib.git diff --git a/m4/fsusage.m4 b/m4/fsusage.m4 index 0dfd2ddd7..08bf06c9a 100644 --- a/m4/fsusage.m4 +++ b/m4/fsusage.m4 @@ -1,4 +1,4 @@ -#serial 21 +#serial 22 # Obtaining file system usage information. # Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004, 2005, 2006 Free Software @@ -242,7 +242,8 @@ choke -- this is a workaround for a Sun-specific problem #endif #include #include ]], - [[struct statfs t; long c = *(t.f_spare);]])], + [[struct statfs t; long c = *(t.f_spare); + if (c) return 0;]])], [fu_cv_sys_truncating_statfs=yes], [fu_cv_sys_truncating_statfs=no])]) if test $fu_cv_sys_truncating_statfs = yes; then