Ignore:
File:
1 edited

Legend:

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

    rf9b2cb4c r6afc9d7  
    142142        /* Check whether the driver's binary exists. */
    143143        struct stat s;
    144         if (stat(drv->binary_path, &s) == ENOENT) { /* FIXME!! */
     144        if (stat(drv->binary_path, &s) != 0) {
    145145                log_msg(LOG_DEFAULT, LVL_ERROR, "Driver not found at path `%s'.",
    146146                    drv->binary_path);
Note: See TracChangeset for help on using the changeset viewer.