mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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:
parent
00b6694068
commit
5097b162fc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user