summaryrefslogtreecommitdiff
path: root/sutils/swapon.c
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-01 03:03:59 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 03:03:59 +0200
commit05b2f1f650af3b2e41c79d96bed67f9af0d4ef9d (patch)
tree766c05bc311918c23e569fb5a1581f5654614223 /sutils/swapon.c
parentba374ac11cbf23bc814834a7b78594ed021ab9bc (diff)
Fix swap on large devices
DEV_GET_SIZE values overflow with large devices, rather use DEV_GET_RECORDS. * mach-defpager/setup.c (S_default_pager_paging_storage): Use DEV_GET_RECORDS instead of DEV_GET_SIZE.
Diffstat (limited to 'sutils/swapon.c')
0 files changed, 0 insertions, 0 deletions