Patch #1: --- src/findlib/fstype.c.orig Thu Aug 13 09:52:24 2015 +++ src/findlib/fstype.c Tue Sep 8 07:57:34 2015 @@ -278,10 +278,11 @@
#elif defined(HAVE_SUN_OS) #include <sys/types.h> #include <sys/stat.h> +#include <sys/mnttab.h> bool fstype(FF_PKT *ff_pkt, char *fs, int fslen) { /* Solaris has the filesystem type name in the lstat packet */ bstrncpy(fs, ff_pkt->statp.st_fstype, fslen); @@ -371,11 +372,11 @@ continue; } mtab_handler(user_ctx, &st, mnt.mnt_fstype, mnt.mnt_mountp, mnt.mnt_mntopts, mnt.mnt_special); } - fclose(fp); + fclose(mntfp); V(mutex); #endif #endif /* HAVE_GETMNTENT */ -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: 603.293.8485 ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel