Skip to content

Commit

Permalink
i'll go out on a limb and state that foo isn't the best possible pani…
Browse files Browse the repository at this point in the history
…c message
  • Loading branch information
anttikantee committed Apr 22, 2013
1 parent 54e9646 commit 7cce08a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brlib/libnetconfig/dhcp_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ rump_netconfig_dhcp_ipv4_oneshot(const char *ifname)
return EINVAL;
}
ifaces = iface;
if (open_socket(iface, ETHERTYPE_IP) != 0)
panic("foo");
if ((error = open_socket(iface, ETHERTYPE_IP)) != 0)
panic("failed to open socket: %d");

up_interface(iface);

Expand Down

0 comments on commit 7cce08a

Please sign in to comment.