artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62ed914
)
avoid __LDPGSZ
author
deraadt
<deraadt@openbsd.org>
Sat, 7 Dec 1996 14:57:40 +0000
(14:57 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 7 Dec 1996 14:57:40 +0000
(14:57 +0000)
gnu/usr.bin/ld/ldd/ldd.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/ld/ldd/ldd.c
b/gnu/usr.bin/ld/ldd/ldd.c
index
2523add
..
88756fd
100644
(file)
--- 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
) {