about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/errno.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/errno.h b/sysdeps/unix/sysv/linux/bits/errno.h
index e3e8b3213d..35bd61109d 100644
--- a/sysdeps/unix/sysv/linux/bits/errno.h
+++ b/sysdeps/unix/sysv/linux/bits/errno.h
@@ -29,7 +29,7 @@
 
 /* Linux also has no ECANCELED error code.  Since it is not used here
    we define it to an invalid value.  */
-# define ECANCELED	(-1)
+# define ECANCELED	125
 
 # ifndef __ASSEMBLER__
 /* We now need a declaration of the `errno' variable.  */