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/parse.c | |
parent | 3c1f1e6f4c0afafc3a8048ef00b3c175e564c90a (diff) |
Various KNF nits.
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r-- | sbin/dhclient/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c index 6604e5c8c0d..d1f5bb2140d 100644 --- a/sbin/dhclient/parse.c +++ b/sbin/dhclient/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.51 2017/06/10 17:56:29 krw Exp $ */ +/* $OpenBSD: parse.c,v 1.52 2017/06/19 19:28:35 krw Exp $ */ /* Common parser code for dhcpd and dhclient. */ @@ -253,7 +253,7 @@ parse_ethernet(FILE *cfile, struct ether_addr *hardware) if (len == 6) { if (parse_semi(cfile)) - memcpy(hardware, &buf, sizeof(*hardware)); + memcpy(hardware, &buf, sizeof(*hardware)); } else if (token != ':') { parse_warn("expecting ':'."); skip_to_semi(cfile); |