diff options
Diffstat (limited to 'libexec/ld.so/i386/syscall.h')
-rw-r--r-- | libexec/ld.so/i386/syscall.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/i386/syscall.h b/libexec/ld.so/i386/syscall.h index 2d2f36b7b9d..a409e17015e 100644 --- a/libexec/ld.so/i386/syscall.h +++ b/libexec/ld.so/i386/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.7 2006/05/03 16:10:52 drahn Exp $ */ +/* $OpenBSD: syscall.h,v 1.8 2008/10/02 20:12:08 kurt Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -34,10 +34,10 @@ #include <sys/signal.h> #ifndef _dl_MAX_ERRNO -#define _dl_MAX_ERRNO 4096 +#define _dl_MAX_ERRNO 512L #endif -#define _dl_check_error(__res) \ - ((int) __res < 0 && (int) __res >= -_dl_MAX_ERRNO) +#define _dl_mmap_error(__res) \ + ((long)__res < 0 && (long)__res >= -_dl_MAX_ERRNO) int _dl_close(int); int _dl_exit(int); |