diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-05 02:09:58 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-05 02:09:58 +0100 |
commit | 45f9258c7fc11e145b5197a076bedf935ace9249 (patch) | |
tree | 728decff25091a70bb7fe963d828910bdb8ad2ed /src | |
parent | 62d27d872769ebcd79a931fa07b1128576e65e65 (diff) |
errno: replace EIO with ENOENT
Diffstat (limited to 'src')
-rw-r--r-- | src/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c index dbdb234..7d737c7 100644 --- a/src/string.c +++ b/src/string.c @@ -155,8 +155,8 @@ strerror(int errnum) return "resource temporarily unavailable"; case ENOMEM: return "not enough space"; - case EIO: - return "input/output error"; + case ENOENT: + return "no such file or directory"; case EBUSY: return "resource busy"; case EEXIST: |