diff options
author | Jose Antonio Ortega Ruiz <jao@imladris> | 2014-05-03 14:14:28 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@imladris> | 2014-05-03 14:14:28 +0200 |
commit | ccd376c7f1c148df078d5ff283a9dcb8045d29bf (patch) | |
tree | d0fd192abddf97ba4561d9ac26f7c70aabdba777 | |
parent | 99ce1d12cb11280ca7566f14a7ff90bc77ba1b08 (diff) | |
download | xmobar-ccd376c7f1c148df078d5ff283a9dcb8045d29bf.tar.gz xmobar-ccd376c7f1c148df078d5ff283a9dcb8045d29bf.tar.bz2 |
Fix: referencing the correct header in StatFs
-rw-r--r-- | src/StatFS.hsc | 2 |
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 |