Changeset 258 for trunk/src


Ignore:
Timestamp:
Oct 31, 2009, 9:42:58 PM (15 years ago)
Author:
katerina
Message:

Don't use statvfs() for process checking on FreeBSD (ticket #176).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_processcheck.c

    r257 r258  
    727727  DIR * dir;
    728728  int  retval;
    729 #ifdef HAVE_STATVFS
     729#if defined(HAVE_STATVFS) && !defined(__FreeBSD__)
    730730  struct statvfs vfsbuf;
    731731#endif
     
    807807  ++need_checks;
    808808
    809 #ifdef HAVE_STATVFS
     809#if defined(HAVE_STATVFS) && !defined(__FreeBSD__)
    810810  do {
    811811    retval = statvfs (path, &vfsbuf);
Note: See TracChangeset for help on using the changeset viewer.