diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-07-24 13:16:07 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-07-24 13:16:07 +0000 |
commit | 6456e34834e467423c86ab126e343c0a800ae313 (patch) | |
tree | 1da69c25360b8df76eb247b607c1df50502b5473 /sbin | |
parent | 1d3ae6dc5571147d1f5a01a81fd91f2eb3c0c36f (diff) |
ROUNDUP() adjustment missed by great ROUNDUP() roundup.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/dhclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 3837900fe8e..5bda7449ee5 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.478 2017/07/22 17:55:20 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.479 2017/07/24 13:16:06 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -172,8 +172,8 @@ void take_charge(struct interface_info *, int); void set_default_client_identifier(struct interface_info *); struct client_lease *get_recorded_lease(struct interface_info *); -#define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : \ - sizeof(long)) +#define ROUNDUP(a) \ + ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) static FILE *leaseFile; |