Changeset 169 for trunk/src/sh_mounts.c
- Timestamp:
- Apr 13, 2008, 9:59:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_mounts.c
r149 r169 180 180 } 181 181 182 lastcheck = time(NULL);183 184 182 SL_RETURN(0, _("sh_mounts_init")); 185 183 } … … 197 195 SL_RETURN(-1, _("sh_mounts_timer")); 198 196 } 199 197 200 198 SL_RETURN(0, _("sh_mounts_timer")); 201 199 } … … 400 398 401 399 /* FreeBSD includes */ 402 #if def HOST_IS_FREEBSD400 #if defined(HOST_IS_FREEBSD) || defined(HOST_IS_OPENBSD) 403 401 #include <sys/param.h> 404 402 #include <sys/ucred.h> … … 577 575 #endif 578 576 579 #if defined(HOST_IS_FREEBSD) 577 #if defined(HOST_IS_FREEBSD) || defined(HOST_IS_OPENBSD) 580 578 581 579 /* FreeBSD returns flags instead of strings as mount options, so we'll convert … … 595 593 {"local", MNT_LOCAL}, 596 594 {"quota", MNT_QUOTA}, 595 #ifdef MNT_NOATIME 596 {"noatime", MNT_NOATIME}, 597 #endif 597 598 {"bound", -1} 598 599 }; … … 665 666 list = m; 666 667 667 /* The FreeBSD way */668 #if def HOST_IS_FREEBSD668 /* The Open/FreeBSD way */ 669 #if defined(HOST_IS_FREEBSD) || defined(HOST_IS_OPENBSD) 669 670 { 670 671 struct statfs *fsp;
Note:
See TracChangeset
for help on using the changeset viewer.