]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bsys.c
Fix bug #2301 Solaris Available space incorrectly reported by turning off the output...
[bacula/bacula] / bacula / src / lib / bsys.c
index ab5ebe50ae44f0420a50a194e89a10448144b28f..21a8f69db4693189a923cbbfe511c9f314fcde8c 100644 (file)
@@ -1029,7 +1029,7 @@ void stack_trace() {}
 
 int fs_get_free_space(const char *path, int64_t *freeval, int64_t *totalval)
 {
-#ifndef HAVE_WIN32
+#if !defined(HAVE_WIN32) && !defined(HAVE_SUN_OS)
    struct statvfs st;
 
    if (statvfs(path, &st) == 0) {