From: Kern Sibbald Date: Thu, 3 Aug 2017 19:15:55 +0000 (+0200) Subject: Fix bug #2301 Solaris Available space incorrectly reported by turning off the output... X-Git-Tag: Release-9.0.3~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1679ced2f16e342e5da56e5f4170e21bf2ab0925;hp=7e050a8fb9083f1375d27d4f006d2d02674fcf3d;p=bacula%2Fbacula Fix bug #2301 Solaris Available space incorrectly reported by turning off the output for Solaris --- diff --git a/bacula/src/lib/bsys.c b/bacula/src/lib/bsys.c index ab5ebe50ae..21a8f69db4 100644 --- a/bacula/src/lib/bsys.c +++ b/bacula/src/lib/bsys.c @@ -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) {