From: deraadt Date: Sat, 7 Dec 1996 14:57:40 +0000 (+0000) Subject: avoid __LDPGSZ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=530b5054d178a2465b3e855d515cb63063e50e37;p=openbsd avoid __LDPGSZ --- 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 ) {