malloc: Do not clobber errno on __getrandom_nocancel (BZ #29624)
[platform/upstream/glibc.git] / sysdeps / unix / sysv / linux / not-cancel.h
index cf35c8b..93615de 100644 (file)
@@ -71,7 +71,7 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
 static inline ssize_t
 __getrandom_nocancel (void *buf, size_t buflen, unsigned int flags)
 {
-  return INLINE_SYSCALL_CALL (getrandom, buf, buflen, flags);
+  return INTERNAL_SYSCALL_CALL (getrandom, buf, buflen, flags);
 }
 
 static inline int