summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-02-19 15:51:40 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-02-19 18:27:02 +0100
commit7638c0fda568726f52ee5a88e1eadcddcd9fa290 (patch)
tree200c0fef9860a081dfb95c54e87e292adbdcf316 /sysdeps/unix/sysv/linux/bits
parent92221550d72bafcd322ac5ab2a951054184b7f1a (diff)
downloadglibc-7638c0fda568726f52ee5a88e1eadcddcd9fa290.tar.gz
glibc-7638c0fda568726f52ee5a88e1eadcddcd9fa290.tar.xz
glibc-7638c0fda568726f52ee5a88e1eadcddcd9fa290.zip
Add support for Linux error EHWPOISON
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r--sysdeps/unix/sysv/linux/bits/errno.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/errno.h b/sysdeps/unix/sysv/linux/bits/errno.h
index a45a8e14d5..6a003f9140 100644
--- a/sysdeps/unix/sysv/linux/bits/errno.h
+++ b/sysdeps/unix/sysv/linux/bits/errno.h
@@ -1,5 +1,5 @@
 /* Error constants.  Linux specific version.
-   Copyright (C) 1996-1999, 2005, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1996-1999, 2005, 2009, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -41,6 +41,10 @@
 #  define ERFKILL		132
 # endif
 
+# ifndef EHWPOISON
+#  define EHWPOISON		133
+# endif
+
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));