1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Use INTERNAL_SYSCALL.

This commit is contained in:
Andreas Schwab
2002-12-21 19:36:29 +00:00
parent efe0cd0fdc
commit 1332e84802
2 changed files with 3 additions and 12 deletions

View File

@ -37,9 +37,9 @@ __getpagesize ()
return GL(dl_pagesize);
#ifdef __NR_getpagesize
result = INLINE_SYSCALL (getpagesize, 0);
result = INTERNAL_SYSCALL (getpagesize, 0);
/* The only possible error is ENOSYS. */
if (result != -1)
if (!INTERNAL_SYSCALL_ERROR_P (result))
return result;
#endif