diff options
author | 2007-09-02 12:12:12 +0000 | |
---|---|---|
committer | 2007-09-02 12:12:12 +0000 | |
commit | 5bc49800d21885afcc679b3309d40982fc1fbac4 (patch) | |
tree | 2c24758c781f22de880a545c3e732ddf878b6d3f | |
parent | Handle quotation marks in .cvsrc correctly. (diff) | |
download | wireguard-openbsd-5bc49800d21885afcc679b3309d40982fc1fbac4.tar.xz wireguard-openbsd-5bc49800d21885afcc679b3309d40982fc1fbac4.zip |
ctob is gone, use ptoa
tested by ckuethe
-rw-r--r-- | sys/dev/ic/aac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c index 5d6eb429cb3..6c3c2fc3721 100644 --- a/sys/dev/ic/aac.c +++ b/sys/dev/ic/aac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aac.c,v 1.35 2007/03/20 10:30:32 mickey Exp $ */ +/* $OpenBSD: aac.c,v 1.36 2007/09/02 12:12:12 martin Exp $ */ /*- * Copyright (c) 2000 Michael Smith @@ -1592,7 +1592,7 @@ aac_init(struct aac_softc *sc) * therefore 'assuming' that this value is in 16MB units (2^24). * Round up since the granularity is so high. */ - ip->HostPhysMemPages = ctob(physmem) / AAC_PAGE_SIZE; + ip->HostPhysMemPages = ptoa(physmem) / AAC_PAGE_SIZE; if (sc->flags & AAC_FLAGS_BROKEN_MEMMAP) { ip->HostPhysMemPages = (ip->HostPhysMemPages + AAC_PAGE_SIZE) / AAC_PAGE_SIZE; |