Changeset 8f8f34ad in mainline


Ignore:
Timestamp:
2011-04-12T17:28:59Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a6610d4
Parents:
4bb9fd2
Message:

Fix in parameter check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/main.c

    r4bb9fd2 r8f8f34ad  
    179179        usb_log_debug("usb_hid_add_device()\n");
    180180       
    181         if (dev != NULL) {
     181        if (dev == NULL) {
    182182                usb_log_warning("Wrong parameter given for add_device().\n");
    183183                return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.