git: DragonFly_RELEASE_6_4 reboot(8): Fix openlog(3) calls

Aaron LI aly at crater.dragonflybsd.org
Fri Jul 3 04:36:19 PDT 2026


commit 7192837870f1335506d1333a8c2daec72c4b3581
Author: Ricardo Branco <rbranco at suse.de>
Date:   Tue Jun 30 15:09:28 2026 +0200

    reboot(8): Fix openlog(3) calls
    
    LOG_CONS was OR'd into the facility argument instead of logopt, leaving
    logopt as 0.  The correct call is openlog(ident, LOG_CONS, LOG_AUTH),
    as shutdown(8) and init(8) already do.
    
    Signed-off-by: Ricardo Branco <rbranco at suse.de>
    GitHub-PR: #37

Summary of changes:
 sbin/reboot/reboot.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7192837870f1335506d1333a8c2daec72c4b3581


-- 
DragonFly BSD source repository


More information about the Commits mailing list