Changes in uspace/drv/bus/isa/isa.c [6efd162:ebc9c2c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/isa.c
r6efd162 rebc9c2c 245 245 bool opened = false; 246 246 int fd; 247 size_t len; 248 ssize_t r; 247 size_t len = 0; 249 248 250 249 fd = open(conf_path, O_RDONLY); … … 270 269 } 271 270 272 r = read_all(fd, buf, len); 273 if (r < 0) { 271 if (0 >= read(fd, buf, len)) { 274 272 ddf_msg(LVL_ERROR, "Unable to read file '%s'.", conf_path); 275 273 goto cleanup;
Note:
See TracChangeset
for help on using the changeset viewer.