diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-14 10:20:25 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-14 10:20:25 -0800 |
commit | 0079dd2382eba185d22410a1d3088dc7146bc00a (patch) | |
tree | af3c1fa38888dbab45fcde303c4a275f5439b107 /sysdeps/gnu | |
parent | 8964681064db9f13ee4ec7f46c53f04d66a04b99 (diff) | |
download | glibc-0079dd2382eba185d22410a1d3088dc7146bc00a.tar glibc-0079dd2382eba185d22410a1d3088dc7146bc00a.tar.gz glibc-0079dd2382eba185d22410a1d3088dc7146bc00a.tar.bz2 glibc-0079dd2382eba185d22410a1d3088dc7146bc00a.zip |
Add support for new Linux error ERFKILL.
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r-- | sysdeps/gnu/errlist.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 56da01756d..28a295fc67 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -1456,6 +1456,14 @@ TRANS error; @pxref{Cancel AIO Operations}. */ # define ERR_MAX ENOTRECOVERABLE # endif #endif +#ifdef ERFKILL +/* */ + [ERR_REMAP (ERFKILL)] = N_("Operation not possible due to RF-kill"), +# if ERFKILL > ERR_MAX +# undef ERR_MAX +# define ERR_MAX ERFKILL +# endif +#endif }; #define NERR \ |