summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@imladris>2014-05-03 14:14:28 +0200
committerJose Antonio Ortega Ruiz <jao@imladris>2014-05-03 14:14:28 +0200
commitccd376c7f1c148df078d5ff283a9dcb8045d29bf (patch)
treed0fd192abddf97ba4561d9ac26f7c70aabdba777 /src
parent99ce1d12cb11280ca7566f14a7ff90bc77ba1b08 (diff)
downloadxmobar-ccd376c7f1c148df078d5ff283a9dcb8045d29bf.tar.gz
xmobar-ccd376c7f1c148df078d5ff283a9dcb8045d29bf.tar.bz2
Fix: referencing the correct header in StatFs
Diffstat (limited to 'src')
-rw-r--r--src/StatFS.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StatFS.hsc b/src/StatFS.hsc
index 050c19b..a9046c1 100644
--- a/src/StatFS.hsc
+++ b/src/StatFS.hsc
@@ -54,7 +54,7 @@ data CStatfs
#ifdef IS_BSD_SYSTEM
foreign import ccall unsafe "sys/mount.h statfs"
#else
-foreign import ccall unsafe "sys/statvfs.h statvfs"
+foreign import ccall unsafe "sys/vfs.h statvfs"
#endif
c_statfs :: CString -> Ptr CStatfs -> IO CInt