mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gunixmounts: Fix compilation on BSD
Commit afa82ae805
introduced a compilation
regression on BSD systems that use the sysctl(3) interface; we need to
declare the buffer len in _g_get_unix_mount_points()
BZ #659528
This commit is contained in:
parent
11217edaaf
commit
0db338bdb0
@ -1023,6 +1023,7 @@ _g_get_unix_mount_points (void)
|
||||
GList *return_list;
|
||||
#ifdef HAVE_SYS_SYSCTL_H
|
||||
int usermnt = 0;
|
||||
size_t len = sizeof(usermnt);
|
||||
struct stat sb;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user