diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-06-19 19:28:36 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-06-19 19:28:36 +0000 |
commit | 6d76c4c10c7d583e5361ebad216894dc4cbde3de (patch) | |
tree | 77420cf5c07c3fb36ec7bcf871425319d4dbee67 /sbin/dhclient/dispatch.c | |
parent | 3c1f1e6f4c0afafc3a8048ef00b3c175e564c90a (diff) |
Various KNF nits.
Diffstat (limited to 'sbin/dhclient/dispatch.c')
-rw-r--r-- | sbin/dhclient/dispatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c index 57ed6b2230e..2cadceb3eaf 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.124 2017/06/18 21:08:15 krw Exp $ */ +/* $OpenBSD: dispatch.c,v 1.125 2017/06/19 19:28:35 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -297,12 +297,12 @@ get_rdomain(char *name) struct ifreq ifr; if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) - fatal("get_rdomain socket"); + fatal("get_rdomain socket"); memset(&ifr, 0, sizeof(ifr)); strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); if (ioctl(s, SIOCGIFRDOMAIN, (caddr_t)&ifr) != -1) - rv = ifr.ifr_rdomainid; + rv = ifr.ifr_rdomainid; close(s); return rv; |