summaryrefslogtreecommitdiff
path: root/kern/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/string.c')
-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";
}