fix byte ordering in check_sysid