diff options
Diffstat (limited to 'firmware/libc')
| -rw-r--r-- | firmware/libc/errno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/libc/errno.c b/firmware/libc/errno.c index 146d619..0672768 100644 --- a/firmware/libc/errno.c +++ b/firmware/libc/errno.c @@ -1,5 +1,5 @@ #include "../thread-internal.h" int * __errno(void) { - return &thread_self_entry()->__errno; + return &__running_self_entry()->__errno; } |