Update xfstests m4 macros to match other packages.
authorNathan Scott <nathans@sgi.com>
Fri, 8 Oct 2004 14:47:51 +0000 (14:47 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 8 Oct 2004 14:47:51 +0000 (14:47 +0000)
Merge of xfs-cmds-melb:slinx:19696a by kenmcd.

m4/package_libcdev.m4

index d612da2..a66ae47 100644 (file)
@@ -8,7 +8,7 @@ AC_DEFUN([AC_HAVE_FADVISE],
 #define _FILE_OFFSET_BITS 64
 #include <fcntl.h>
     ], [
-       posix_fadvise(0, 1, 0, 0);
+       posix_fadvise(0, 1, 0, POSIX_FADV_NORMAL);
     ], have_fadvise=yes
        AC_MSG_RESULT(yes),
        AC_MSG_RESULT(no))