VirtualBox

Changeset 15653 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 18, 2008 12:57:39 PM (16 years ago)
Author:
vboxsync
Message:

SUPLib-darwin: hDevice is NIL_RTFILE if it's not opened.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r15461 r15653  
    198198     * Do the job.
    199199     */
     200    Assert(pThis->hDevice == NIL_RTFILE);
    200201    int rc = suplibDarwinOpenService(pThis);
    201202    if (RT_SUCCESS(rc))
     
    240241     * Check if we're initited at all.
    241242     */
    242     if ((int)pThis->hDevice >= 0)
     243    if (pThis->hDevice != NIL_RTFILE)
    243244    {
    244245        if (close(pThis->hDevice))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette