HomeFreeBSD

Correct the type of db_cmd_loop_done.

Description

Correct the type of db_cmd_loop_done.

On big endian hardware that uses 1 byte bool a type mismatch of bool vs int will
cause the least signifcant byte of db_cmd_loop_done to be set, but the MSB to be
read, and read as 0. This causes ddb to stay in an infinite loop.

MFC after: 1 week

Details

Provenance
jhibbitsAuthored on
Parents
rS305635: Missed part of patch
Branches
Unknown
Tags
Unknown