]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #2301 Solaris Available space incorrectly reported by turning off the output...
authorKern Sibbald <kern@sibbald.com>
Thu, 3 Aug 2017 19:15:55 +0000 (21:15 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 3 Aug 2017 19:16:03 +0000 (21:16 +0200)
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) {