diff options
author | Richard Braun <rbraun@sceen.net> | 2017-05-23 20:32:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-05-23 20:32:07 +0200 |
commit | b5451753e15bbe0a986ed32297f4a5de5c7e77ea (patch) | |
tree | f9f751765ea914ccc13fbe85dcb56bbc61218b95 /kern/error.c | |
parent | ea5c6b46ca704a05186f18bfe1ae9cd986806150 (diff) |
kern/error: new ERROR_NODEV macro
Diffstat (limited to 'kern/error.c')
-rw-r--r-- | kern/error.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/error.c b/kern/error.c index 043cdb9..e37c67c 100644 --- a/kern/error.c +++ b/kern/error.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Richard Braun. + * Copyright (c) 2014-2017 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 @@ -34,6 +34,8 @@ error_str(int error) return "device or resource busy"; case ERROR_FAULT: return "Bad address"; + case ERROR_NODEV: + return "No such device"; default: return "unknown error"; } |