summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-07 14:57:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-07 14:57:41 +0000
commit30a8aa91169d1eec447b7f1cd86a8920431fe843 (patch)
tree87edd76390308395b54acdc76054150b0fc38a09 /gnu/usr.bin/ld
parent9633321da4f4cc30095180b25274ad9e7d9ad634 (diff)
avoid __LDPGSZ
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r--gnu/usr.bin/ld/ldd/ldd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/ldd/ldd.c b/gnu/usr.bin/ld/ldd/ldd.c
index 2523addf80e..88756fd1958 100644
--- a/gnu/usr.bin/ld/ldd/ldd.c
+++ b/gnu/usr.bin/ld/ldd/ldd.c
@@ -107,7 +107,7 @@ char *argv[];
if (read(fd, &hdr, sizeof hdr) != sizeof hdr
|| (N_GETFLAG(hdr) & EX_DPMASK) != EX_DYNAMIC
#if 1 /* Compatibility */
- || hdr.a_entry < __LDPGSZ
+ || hdr.a_entry < N_PAGSIZ(hdr)
#endif
) {