--- embedaddon/sudo/src/net_ifs.c 2012/05/29 12:26:49 1.1.1.2 +++ embedaddon/sudo/src/net_ifs.c 2013/07/22 10:46:13 1.1.1.3 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 1998-2005, 2007-2010 + * Copyright (c) 1996, 1998-2005, 2007-2013 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -32,7 +32,6 @@ struct rtentry; #include #include -#include #include #include #if defined(HAVE_SYS_SOCKIO_H) && !defined(SIOCGIFCONF) @@ -224,7 +223,7 @@ get_net_ifs(char **addrinfo) sock = socket(AF_INET, SOCK_DGRAM, 0); if (sock < 0) - error(1, _("unable to open socket")); + fatal(_("unable to open socket")); /* * Get interface configuration or return.