Changeset 23a0368 in mainline for uspace/srv/devman/driver.c
- Timestamp:
- 2017-03-30T19:52:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae7bfbbd
- Parents:
- b5b5d84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/driver.c
rb5b5d84 r23a0368 34 34 #include <errno.h> 35 35 #include <fcntl.h> 36 #include <sys/stat.h>37 36 #include <io/log.h> 37 #include <vfs/vfs.h> 38 38 #include <loc.h> 39 39 #include <str_error.h> … … 142 142 /* Check whether the driver's binary exists. */ 143 143 struct stat s; 144 if ( stat(drv->binary_path, &s) != 0) {144 if (vfs_stat_path(drv->binary_path, &s) != EOK) { 145 145 log_msg(LOG_DEFAULT, LVL_ERROR, "Driver not found at path `%s'.", 146 146 drv->binary_path);
Note:
See TracChangeset
for help on using the changeset viewer.