summaryrefslogtreecommitdiff
path: root/usr/src/stand/lib/inet/dhcpv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/stand/lib/inet/dhcpv4.c')
-rw-r--r--usr/src/stand/lib/inet/dhcpv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/stand/lib/inet/dhcpv4.c b/usr/src/stand/lib/inet/dhcpv4.c
index c09f8965b7..3ddd0389af 100644
--- a/usr/src/stand/lib/inet/dhcpv4.c
+++ b/usr/src/stand/lib/inet/dhcpv4.c
@@ -1110,12 +1110,12 @@ prom_cached_reply(int cache_present)
if ((len = pxe_ack_cache(&ack)) <= 0)
return (B_FALSE);
#else
- dnode_t chosen;
+ pnode_t chosen;
char *prop = PROM_BOOT_CACHED;
chosen = prom_finddevice("/chosen");
if (chosen == OBP_NONODE || chosen == OBP_BADNODE)
- chosen = prom_nextnode((dnode_t)0); /* root node */
+ chosen = prom_nextnode((pnode_t)0); /* root node */
if ((len = prom_getproplen(chosen, prop)) <= 0)
return (B_FALSE);