Changes in uspace/srv/devman/driver.c [b19e892:6afc9d7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/driver.c
rb19e892 r6afc9d7 33 33 #include <dirent.h> 34 34 #include <errno.h> 35 #include <fcntl.h> 36 #include <sys/stat.h> 35 37 #include <io/log.h> 36 #include <vfs/vfs.h>37 38 #include <loc.h> 38 39 #include <str_error.h> … … 141 142 /* Check whether the driver's binary exists. */ 142 143 struct stat s; 143 if ( vfs_stat_path(drv->binary_path, &s) != EOK) {144 if (stat(drv->binary_path, &s) != 0) { 144 145 log_msg(LOG_DEFAULT, LVL_ERROR, "Driver not found at path `%s'.", 145 146 drv->binary_path);
Note:
See TracChangeset
for help on using the changeset viewer.