$NetBSD: patch-ah,v 1.1 2005/03/21 14:44:08 tv Exp $

--- src/df.c.orig	Tue Jan 27 10:55:38 2004
+++ src/df.c
@@ -923,8 +923,10 @@ main (int argc, char **argv)
 	     _("%scannot read table of mounted filesystems"), warning);
     }
 
+#if HAVE_SYNC
   if (require_sync)
     sync ();
+#endif
 
   if (optind < argc)
     {
