Carlo Marcelo Arenas Belón <carenas@xxxxxxxxx> writes: > The calls to sysctl() assume a 64-bit memory size for the variable > holding the value, but the actual size depends on the key name and > platform, at least for HW_PHYSMEM. > > Detect any mismatched reads, and retry with a shorter variable > when needed. > > Signed-off-by: Carlo Marcelo Arenas Belón <carenas@xxxxxxxxx> > --- > builtin/gc.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) Thanks. Let's declare victory and merge this to 'next'.