From 1679ced2f16e342e5da56e5f4170e21bf2ab0925 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 3 Aug 2017 21:15:55 +0200 Subject: [PATCH] Fix bug #2301 Solaris Available space incorrectly reported by turning off the output for Solaris --- bacula/src/lib/bsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2