[haiku-commits] r39362 - haiku/trunk/src/system/libroot/os/arch/x86

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 8 Nov 2010 22:46:22 +0100 (CET)

Author: mmu_man
Date: 2010-11-08 22:46:22 +0100 (Mon, 08 Nov 2010)
New Revision: 39362
Changeset: http://dev.haiku-os.org/changeset/39362

Modified:
   haiku/trunk/src/system/libroot/os/arch/x86/compatibility.c
Log:
Return 0 on success for the mount() and unmount() compatibility calls. Just 
cleaner.


Modified: haiku/trunk/src/system/libroot/os/arch/x86/compatibility.c
===================================================================
--- haiku/trunk/src/system/libroot/os/arch/x86/compatibility.c  2010-11-08 
21:35:54 UTC (rev 39361)
+++ haiku/trunk/src/system/libroot/os/arch/x86/compatibility.c  2010-11-08 
21:46:22 UTC (rev 39362)
@@ -125,7 +125,7 @@
                errno = err;
                return -1;
        }
-       return err;
+       return 0;
 }
 
 
@@ -139,6 +139,6 @@
                errno = err;
                return -1;
        }
-       return err;
+       return 0;
 }
 


Other related posts:

  • » [haiku-commits] r39362 - haiku/trunk/src/system/libroot/os/arch/x86 - revol