summaryrefslogtreecommitdiff
path: root/sysutils/coreutils/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/coreutils/patches/patch-ah')
-rw-r--r--sysutils/coreutils/patches/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/coreutils/patches/patch-ah b/sysutils/coreutils/patches/patch-ah
new file mode 100644
index 00000000000..aa3953ea310
--- /dev/null
+++ b/sysutils/coreutils/patches/patch-ah
@@ -0,0 +1,15 @@
+$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)
+ {