gunixmounts: Fix compilation on BSD

Commit afa82ae805f9c8bb875a3f863a7b4669953f159f 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:
Antoine Jacoutot 2011-09-20 01:18:45 +02:00 committed by Ryan Lortie
parent b1ba69ccee
commit 7166d26918

View File

@ -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