~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Runtime/darwin/RTErrConvertFromDarwin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: RTErrConvertFromDarwin.cpp $ */
 
1
/* $Id: RTErrConvertFromDarwin.cpp 33540 2010-10-28 09:27:05Z vboxsync $ */
2
2
/** @file
3
3
 * IPRT - Convert Darwin Mach returns codes to iprt status codes.
4
4
 */
37
37
RTDECL(int) RTErrConvertFromDarwin(int iNativeCode)
38
38
{
39
39
    /*
40
 
     * 'optimzied' success case.
 
40
     * 'optimized' success case.
41
41
     */
42
42
    if (iNativeCode == KERN_SUCCESS)
43
43
        return VINF_SUCCESS;