summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2019-01-10 23:27:59 +0100
committerRichard Braun <rbraun@sceen.net>2019-01-10 23:27:59 +0100
commit7810c4646f16ffaa3256e795c30070fb1df55c64 (patch)
treed62362dea4eb9456926215988ba4d47382046454 /kern
parentb87a06581ebdb9435224f72a75a1ed6104a7b428 (diff)
New EOVERFLOW error code
Diffstat (limited to 'kern')
-rw-r--r--kern/string.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/string.c b/kern/string.c
index ba95f773..02cc9570 100644
--- a/kern/string.c
+++ b/kern/string.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2017 Richard Braun.
+ * Copyright (c) 2012-2019 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -256,6 +256,8 @@ strerror(int error)
return "timeout error";
case ENOENT:
return "no such file or directory";
+ case EOVERFLOW:
+ return "value too large to be stored in data type";
default:
return "unknown error";
}