git: kernel - Enhance krateprintf() API

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 28 21:31:36 PDT 2019


commit c7c9989b127176a95f22910dcd423f224c2f8164
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 28 21:30:47 2019 -0700

    kernel - Enhance krateprintf() API
    
    * Have krateprintf() return a boolean, 0 if it did not
      print anything, 1 if it did, allowing code to issue follow-up
      kprintf()s if desired.

Summary of changes:
 sys/kern/subr_prf.c | 9 ++++++++-
 sys/sys/systm.h     | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list