From 7810c4646f16ffaa3256e795c30070fb1df55c64 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Thu, 10 Jan 2019 23:27:59 +0100 Subject: New EOVERFLOW error code --- kern/string.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kern/string.c') 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"; } -- cgit v1.2.3