--- trunk/mkinitrd-magellan/klibc/usr/kinit/ipconfig/bootp_proto.c 2011/05/27 14:42:36 1296 +++ trunk/mkinitrd-magellan/klibc/usr/kinit/ipconfig/bootp_proto.c 2011/05/27 15:12:11 1297 @@ -169,9 +169,9 @@ }; int ret; - ret = packet_recv(iov, 3); + ret = packet_recv(dev, iov, 3); if (ret <= 0) - return -1; + return ret; if (ret < sizeof(struct bootp_hdr) || bootp.op != BOOTP_REPLY || /* RFC951 7.5 */