Subject: ntohl usage in Apple UFS code
To: None <dbj@netbsd.org>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-kern
Date: 09/30/2002 10:09:02
Hi Darrin,

I noticed several uses of ntohl() in ffs_appleufs.c. First of all,
these should really be be32toh(), for consistency, since it's
not networking code.

Secondly, is Apple UFS defined to be big endian? If not, these
need to be conditional like the rest of the FFS swap code.

- Frank

-- 
Frank van der Linden                                    fvdl@wasabisystems.com
==============================================================================
Quality NetBSD Development, Support & Service.   http://www.wasabisystems.com/