Fix compile warnings on systems without getmntent

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Dan McGee 2014-01-02 12:37:07 -06:00 committed by Allan McRae
parent 00b6694068
commit 5097b162fc
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ static int mount_point_load_fsinfo(alpm_handle_t *handle, alpm_mountpoint_t *mou
_alpm_log(handle, ALPM_LOG_DEBUG, "loading fsinfo for %s\n", mountpoint->mount_dir);
mountpoint->read_only = mountpoint->fsp.f_flag & ST_RDONLY;
mountpoint->fsinfo_loaded = MOUNT_FSINFO_LOADED;
#else
(void)handle;
(void)mountpoint;
#endif
return 0;