summaryrefslogtreecommitdiffstats
path: root/sbin/dset
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-02 09:09:04 +0000
committerphk <phk@FreeBSD.org>1996-05-02 09:09:04 +0000
commit8b3eb1da82e3ae0e16d346d9a46700eee1e1b045 (patch)
tree1be6b5c5ec804730a795dc9824cdbd079982bb33 /sbin/dset
parent640ce8297ee3a6654ae8b470710802be0b01bf5f (diff)
downloadFreeBSD-src-8b3eb1da82e3ae0e16d346d9a46700eee1e1b045.zip
FreeBSD-src-8b3eb1da82e3ae0e16d346d9a46700eee1e1b045.tar.gz
NBPG -> getpagesize()
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 81ca715..22145d8 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;
OpenPOWER on IntegriCloud