diff options
Diffstat (limited to 'libc/sysdeps/linux/common/create_module.c')
-rw-r--r-- | libc/sysdeps/linux/common/create_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/create_module.c b/libc/sysdeps/linux/common/create_module.c index 1cacaefaf..223b909f5 100644 --- a/libc/sysdeps/linux/common/create_module.c +++ b/libc/sysdeps/linux/common/create_module.c @@ -42,7 +42,7 @@ unsigned long create_module(const char *name, size_t size) /* Jump through hoops to fixup error return codes */ if (ret == -1 && errno > 125) { ret = -errno; - errno = 0; + __set_errno(0); } return ret; } |