git: cron(8): Add some format safety.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Feb 2 03:10:05 PST 2018


commit 49f8ed0f3ce30463475f8187bd581b0088a820b5
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Jan 30 22:06:58 2018 +0200

    cron(8): Add some format safety.
    
    Mostly no functional change for a common case, just to suppress
    the -Wformat-overflow

Summary of changes:
 usr.sbin/cron/cron/cron.h       | 1 -
 usr.sbin/cron/cron/database.c   | 3 +--
 usr.sbin/cron/crontab/crontab.c | 2 +-
 usr.sbin/cron/lib/misc.c        | 5 ++---
 4 files changed, 4 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/49f8ed0f3ce30463475f8187bd581b0088a820b5


-- 
DragonFly BSD source repository



More information about the Commits mailing list