git: dhclient - Don't print time_t as %d

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sat Aug 9 09:40:30 PDT 2014


commit a866b809ff63807bfeb7889c142e0dbbfef00d08
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Fri Aug 1 19:36:21 2014 +0200

    dhclient - Don't print time_t as %d
    
    - Cast to (int) just in case time_t ever changes size.
      Values in these cases are intervals, i.e. (time_t - time_t)
      so int/%d will be fine.
    
    Taken-from: OpenBSD

Summary of changes:
 sbin/dhclient/dhclient.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a866b809ff63807bfeb7889c142e0dbbfef00d08


-- 
DragonFly BSD source repository


More information about the Commits mailing list