Undo last change (we're passing the address of a pointer here).

This commit is contained in:
pk 1998-09-07 07:11:11 +00:00
parent c6a0c2d34c
commit c4c4e35608

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbus.c,v 1.30 1998/09/05 22:37:08 eeh Exp $ */
/* $NetBSD: sbus.c,v 1.31 1998/09/07 07:11:11 pk Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -480,7 +480,7 @@ sbus_setup_attach_args(sc, bustag, dmatag, node, bp, sa)
return (error);
error = getprop(node, "address", sizeof(u_int32_t),
&sa->sa_npromvaddrs, (u_int32_t *)&sa->sa_promvaddrs);
&sa->sa_npromvaddrs, (void **)&sa->sa_promvaddrs);
if (error != 0 && error != ENOENT)
return (error);