commit 70fef11b9d0a96af862fff4144190fd5e01f32a8
Author: Aaron LI <[email protected]>
Date:   Thu May 27 19:13:05 2021 +0800

    libutil: Allow suffix to be NULL in humanize_{number,unsigned}()
    
    Allow to pass NULL to the suffix argument to these two functions.  If
    suffix is NULL, then take it as "" (i.e., empty suffix).  This case
    happens in nvmmctl(8).

Summary of changes:
 lib/libutil/humanize_number.c   | 5 ++++-
 lib/libutil/humanize_unsigned.c | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70fef11b9d0a96af862fff4144190fd5e01f32a8


-- 
DragonFly BSD source repository

Reply via email to