diff options
-rw-r--r-- | ifconfig.c | 5 | ||||
-rw-r--r-- | networking/ifconfig.c | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ifconfig.c b/ifconfig.c index f342ceede..daf189458 100644 --- a/ifconfig.c +++ b/ifconfig.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: ifconfig.c,v 1.5 2001/03/08 22:57:00 mjn3 Exp $ | 18 | * $Id: ifconfig.c,v 1.6 2001/03/09 23:06:15 mjn3 Exp $ |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
@@ -271,8 +271,7 @@ int ifconfig_main(int argc, char **argv) | |||
271 | 271 | ||
272 | /* Create a channel to the NET kernel. */ | 272 | /* Create a channel to the NET kernel. */ |
273 | if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { | 273 | if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { |
274 | perror("socket"); | 274 | perror_msg_and_die("socket"); |
275 | exit(1); | ||
276 | } | 275 | } |
277 | 276 | ||
278 | /* skip argv[0] */ | 277 | /* skip argv[0] */ |
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index f342ceede..daf189458 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: ifconfig.c,v 1.5 2001/03/08 22:57:00 mjn3 Exp $ | 18 | * $Id: ifconfig.c,v 1.6 2001/03/09 23:06:15 mjn3 Exp $ |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
@@ -271,8 +271,7 @@ int ifconfig_main(int argc, char **argv) | |||
271 | 271 | ||
272 | /* Create a channel to the NET kernel. */ | 272 | /* Create a channel to the NET kernel. */ |
273 | if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { | 273 | if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { |
274 | perror("socket"); | 274 | perror_msg_and_die("socket"); |
275 | exit(1); | ||
276 | } | 275 | } |
277 | 276 | ||
278 | /* skip argv[0] */ | 277 | /* skip argv[0] */ |