summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-01-05 02:09:58 +0100
committerRichard Braun <rbraun@sceen.net>2018-01-05 02:09:58 +0100
commit45f9258c7fc11e145b5197a076bedf935ace9249 (patch)
tree728decff25091a70bb7fe963d828910bdb8ad2ed /src
parent62d27d872769ebcd79a931fa07b1128576e65e65 (diff)
errno: replace EIO with ENOENT
Diffstat (limited to 'src')
-rw-r--r--src/string.c4
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: