diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-09-20 22:05:11 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-09-20 22:05:11 +0000 |
commit | adad3a42ee8ed235e1f490dcc638ad5757f4d124 (patch) | |
tree | 967069c3eab4450b6907144f001dfcb835c0b401 /sbin/dhclient/dispatch.c | |
parent | 4e6779828ed94f02e2a2c57a394b1a7d03ce3abc (diff) |
Fix some spacing. A couple of log_warx() -> log_warn() to
use standard error messages for malloc errors.
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 aff71a2b471..f5916c9be55 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.145 2017/09/20 18:28:14 krw Exp $ */ +/* $OpenBSD: dispatch.c,v 1.146 2017/09/20 22:05:10 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -106,8 +106,8 @@ dispatch(struct interface_info *ifi, int routefd) */ howlong = ifi->timeout - cur_time; if (howlong > INT_MAX / 1000) - howlong = INT_MAX / 1000; - to_msec = howlong * 1000; + howlong = INT_MAX / 1000; + to_msec = howlong * 1000; } else to_msec = -1; |