Changeset 1a3b953 in mainline for uspace/lib/bithenge/file.c


Ignore:
Timestamp:
2012-08-20T00:22:19Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0784869
Parents:
5e514c0
Message:

Bithenge: better error injection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/file.c

    r5e514c0 r1a3b953  
    7979                return ELIMIT;
    8080        if (lseek(blob->fd, offset, SEEK_SET) < 0)
    81                 return errno == EINVAL ? EIO : EINVAL;
     81                return errno == EINVAL ? EIO : errno;
    8282
    8383        ssize_t amount_read;
Note: See TracChangeset for help on using the changeset viewer.