Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/isa.c

    rebc9c2c r6efd162  
    245245        bool opened = false;
    246246        int fd;
    247         size_t len = 0;
     247        size_t len;
     248        ssize_t r;
    248249
    249250        fd = open(conf_path, O_RDONLY);
     
    269270        }
    270271
    271         if (0 >= read(fd, buf, len)) {
     272        r = read_all(fd, buf, len);
     273        if (r < 0) {
    272274                ddf_msg(LVL_ERROR, "Unable to read file '%s'.", conf_path);
    273275                goto cleanup;
Note: See TracChangeset for help on using the changeset viewer.