Changeset fa581b3 in mainline for uspace/srv/devman/devman.c


Ignore:
Timestamp:
2011-01-08T22:14:31Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e186eb5
Parents:
339dfc5
Message:

Fix range of valid phone numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.c

    r339dfc5 rfa581b3  
    785785                /* Notify the driver about the new device. */
    786786                int phone = async_connect_me_to(drv->phone, DRIVER_DEVMAN, 0, 0);
    787                 if (phone > 0) {
     787                if (phone >= 0) {
    788788                        add_device(phone, drv, node, tree);
    789789                        ipc_hangup(phone);
Note: See TracChangeset for help on using the changeset viewer.