[Glibc-bsd-commits] r4080 - trunk/glibc-ports/kfreebsd/sys
Robert Millan
rmh at alioth.debian.org
Sat Feb 4 16:39:15 UTC 2012
Author: rmh
Date: 2012-02-04 16:39:15 +0000 (Sat, 04 Feb 2012)
New Revision: 4080
Modified:
trunk/glibc-ports/kfreebsd/sys/mount.h
Log:
Fix struct xvfsconf type conversion.
Modified: trunk/glibc-ports/kfreebsd/sys/mount.h
===================================================================
--- trunk/glibc-ports/kfreebsd/sys/mount.h 2012-02-04 16:30:43 UTC (rev 4079)
+++ trunk/glibc-ports/kfreebsd/sys/mount.h 2012-02-04 16:39:15 UTC (rev 4080)
@@ -395,7 +395,7 @@
if (sysctlbyname("vfs.conflist", NULL, &buflen, NULL, 0) < 0)
return (-1);
- xvfsp = malloc(buflen);
+ xvfsp = (struct xvfsconf *) malloc(buflen);
if (xvfsp == NULL)
return (-1);
if (sysctlbyname("vfs.conflist", xvfsp, &buflen, NULL, 0) < 0) {
More information about the Glibc-bsd-commits
mailing list