Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: basesrc/usr.sbin/installboot/arch
In article <20020531055436.DDCA2B004%cvs.netbsd.org@localhost>
matt%netbsd.org@localhost wrote:
> Module Name: basesrc
> Committed By: matt
> Date: Fri May 31 05:54:36 UTC 2002
>
> Modified Files:
> basesrc/usr.sbin/installboot/arch: alpha.c
>
> Log Message:
> Use to htobe16, not htons
I think this should be be16toh(), not htobe16() because
the return value is used for arithmetic on the host.
But does MI installboot for alpha really work on big endian machines?
It seems all values in bb16[] should be little endian and all arithmetics
for bb16 should be done in host's endian.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost
Home |
Main Index |
Thread Index |
Old Index