diff options
author | Patrick McHardy <kaber@trash.net> | 2009-11-05 12:38:26 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2009-11-10 10:29:07 (GMT) |
commit | 8d2bb90726f75dfaf752de599886cb8bf15391bd (patch) | |
tree | 34f6b648d75b53cc8930eee1ac987690453d7bcc /lib | |
parent | fed168212ecfd179691813b67959fa20593d23dd (diff) | |
download | libnl-8d2bb90726f75dfaf752de599886cb8bf15391bd.zip libnl-8d2bb90726f75dfaf752de599886cb8bf15391bd.tar.gz libnl-8d2bb90726f75dfaf752de599886cb8bf15391bd.tar.bz2 |
libnl: add ERANGE to errno translation
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/error.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/error.c b/lib/error.c index 71ae722..b94a235 100644 --- a/lib/error.c +++ b/lib/error.c @@ -100,6 +100,7 @@ int nl_syserr2nlerr(int error) case EOPNOTSUPP: return NLE_OPNOTSUPP; case EPERM: return NLE_PERM; case EBUSY: return NLE_BUSY; + case ERANGE: return NLE_RANGE; default: return NLE_FAILURE; } } |