Fix a typo in htosonic32(), pointed out by soda@netbsd.org.
This commit is contained in:
parent
f0ba6b733c
commit
2861457faf
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: dp83932var.h,v 1.2 2001/07/05 15:02:27 thorpej Exp $ */
|
/* $NetBSD: dp83932var.h,v 1.3 2001/07/06 16:20:07 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||||
@ -362,7 +362,7 @@ htosonic32(struct sonic_softc *sc, uint32_t val)
|
|||||||
|
|
||||||
if (sc->sc_bigendian)
|
if (sc->sc_bigendian)
|
||||||
return (htobe32(val));
|
return (htobe32(val));
|
||||||
return (htole16(val));
|
return (htole32(val));
|
||||||
}
|
}
|
||||||
|
|
||||||
static __inline uint32_t __attribute__((__unused__))
|
static __inline uint32_t __attribute__((__unused__))
|
||||||
|
Loading…
Reference in New Issue
Block a user