DragonFly commits List (threaded) for 2009-02
DragonFly BSD
DragonFly commits List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: DragonFly-2.3.0.12.g1c6a6 master contrib/bsdinstaller-1.1.6/src/lib/libinstaller survey.c


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Tue, 10 Feb 2009 10:48:24 +0100

Matthew Dillon wrote:
: installer: Use unsigned long for holding hw.physmem's value.
: : The previous signed long led to the wrong calculation of default swap size
: on machines with >2GB main memory.
:
:Summary of changes:
: .../src/lib/libinstaller/survey.c | 2 +-
: 1 files changed, 1 insertions(+), 1 deletions(-)
:-- :DragonFly BSD source repository


Might as well make it a 64 bit int.

the MD kernel code uses a int for i386, and the data is copied binary.


cheers
  simon

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]