netbsd-statvfs-20051211
authorTracy Di Marco White <gendalia@iastate.edu>
Sun, 11 Dec 2005 18:57:15 +0000 (18:57 +0000)
committerRuss Allbery <rra@stanford.edu>
Sun, 11 Dec 2005 18:57:15 +0000 (18:57 +0000)
FIXES 22905

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

src/config/param.nbsd21.h

index 3bc7f39..d1cc9f4 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 */