]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-netbsd-statvfs-20051211
authorTracy Di Marco White <gendalia@iastate.edu>
Sun, 11 Dec 2005 19:00:19 +0000 (19:00 +0000)
committerRuss Allbery <rra@stanford.edu>
Sun, 11 Dec 2005 19:00:19 +0000 (19:00 +0000)
FIXES 22905

NetBSD 2.1 doesn't have statvfs, but the version numbering scheme changed
so the test was getting this wrong.

(cherry picked from commit cd6e2b99298bbb12d09b92b6b86de7f811f4e803)

src/config/param.nbsd21.h

index 3bc7f399a2da39bd1fb880af58bf3569b7318e6e..d1cc9f480df9d5e22f8c0a5490b902a2ef850d26 100644 (file)
@@ -29,7 +29,7 @@
 #define AFS_HAVE_FFS            1      /* Use system's ffs. */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
-#if __NetBSD_Version__ >= 200040000
+#if __NetBSD_Version__ >= 299000900
 #define AFS_HAVE_STATVFS    1  /* System supports statvfs */
 #else
 #define AFS_HAVE_STATVFS    0  /* System doesn't supports statvfs */