diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-09-15 18:15:19 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-09-15 18:15:19 +0000 |
commit | cda9108e72a0e53ca98317cf26f755763f331b0a (patch) | |
tree | 849094f9b36ae143ead80cec62df341d44062cf2 /sbin/dhclient/dispatch.c | |
parent | 6925ec5238a7a84f51ef7d1886dbadf6daa51466 (diff) |
no \n in error() calls and minor KNF, from Moritz Jodeit <moritz@jodeit.org>
Diffstat (limited to 'sbin/dhclient/dispatch.c')
-rw-r--r-- | sbin/dhclient/dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c index 690985c53ec..d7d4a2a2105 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.29 2004/06/22 01:10:49 canacar Exp $ */ +/* $OpenBSD: dispatch.c,v 1.30 2004/09/15 18:15:18 henning Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -468,7 +468,7 @@ interface_link_status(char *ifname) struct ifmediareq ifmr; int sock; - if ((sock = socket (AF_INET, SOCK_DGRAM, 0)) == -1) + if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) == -1) error("Can't create socket"); memset(&ifmr, 0, sizeof(ifmr)); |