platform/unix.c
changeset 677 c8e2615d6173
parent 657 dad3b5c307a9
child 678 73a2641375a0
--- a/platform/unix.c	Sun Mar 13 03:04:04 2005 +0000
+++ b/platform/unix.c	Sun Mar 13 03:18:18 2005 +0000
@@ -170,10 +170,8 @@
     struct statfs *mntbufp;
     int i, mounts;
 
-    retval[0] = NULL;
-
     if (IOMasterPort(MACH_PORT_NULL, &masterPort) != KERN_SUCCESS)
-        return(retval);
+        BAIL_MACRO(ERR_OS_ERROR, /*return void*/);
 
     mounts = getmntinfo(&mntbufp, MNT_WAIT);  /* NOT THREAD SAFE! */
     for (i = 0; i < mounts; i++)