From 0079dd2382eba185d22410a1d3088dc7146bc00a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 14 Nov 2009 10:20:25 -0800 Subject: Add support for new Linux error ERFKILL. --- sysdeps/gnu/errlist.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysdeps/gnu') 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 @@ -1455,6 +1455,14 @@ TRANS error; @pxref{Cancel AIO Operations}. */ # undef ERR_MAX # 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 }; -- cgit v1.2.3