aboutsummaryrefslogtreecommitdiff
path: root/sbin/dset
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 09:09:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 09:09:04 +0000
commita8b878b7d1eb8058fdc2a31424989e620dd022ed (patch)
tree1be6b5c5ec804730a795dc9824cdbd079982bb33 /sbin/dset
parent0e51b8b85dc404040e13ce547a7ce037d4794103 (diff)
downloadsrc-a8b878b7d1eb8058fdc2a31424989e620dd022ed.tar.gz
src-a8b878b7d1eb8058fdc2a31424989e620dd022ed.zip
NBPG -> getpagesize()
Notes
Notes: svn path=/head/; revision=15530
Diffstat (limited to 'sbin/dset')
-rw-r--r--sbin/dset/dset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dset/dset.c b/sbin/dset/dset.c
index 81ca715ab51e..22145d89a0a8 100644
--- a/sbin/dset/dset.c
+++ b/sbin/dset/dset.c
@@ -165,7 +165,7 @@ main(ac, av)
for (sym = 0; sym <= N_TABLAST; sym++) {
if (verbose)
printf("\nTable: %s\n", nl[sym].n_name);
- pos = nl[sym].n_value + NBPG - entry;
+ pos = nl[sym].n_value + getpagesize() - entry;
pos1 = nlk[0].n_value;