summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-21 19:53:32 +0000
committerderaadt <deraadt@openbsd.org>2013-03-21 19:53:32 +0000
commitabc175f16aa9df36c4f34041c5691a8787d32668 (patch)
tree14b05fce1ac2ac14e4a8340df1678fa45b981bf5
parentstyle(9) (diff)
downloadwireguard-openbsd-abc175f16aa9df36c4f34041c5691a8787d32668.tar.xz
wireguard-openbsd-abc175f16aa9df36c4f34041c5691a8787d32668.zip
In a comment, talk about PAGE_SIZE instead of NBPG
-rw-r--r--usr.bin/strip/strip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c
index ca93ac84b7e..980ed61dbf7 100644
--- a/usr.bin/strip/strip.c
+++ b/usr.bin/strip/strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strip.c,v 1.29 2010/06/01 21:44:39 deraadt Exp $ */
+/* $OpenBSD: strip.c,v 1.30 2013/03/21 19:53:32 deraadt Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -235,10 +235,10 @@ s_sym(const char *fn, int fd, EXEC *ep, struct stat *sp, off_t *sz)
/*
* Unfortunately, this can't work correctly without changing the way
* the loader works. We could cap it at one page, or even fiddle with
- * a_data and a_bss, but this only works for CLBYTES == NBPG. If we
- * are on a system where, e.g., CLBYTES is 8k and NBPG is 4k, and we
- * happen to remove 4.5k, we will lose. And we really don't want to
- * fiddle with pages, because that breaks binary compatibility. Lose.
+ * a_data and a_bss, but this only works for CLBYTES == PAGE_SIZE. If
+ * we are on a system where, e.g., CLBYTES is 8k and PAGE_SIZE is 4k,
+ * and we happen to remove 4.5k, we will lose. And we really don't want
+ * to fiddle with pages, because that breaks binary compatibility. Lose.
*/
if (zmagic) {