git: world: Use NULL instead of ""/0 for the nlist(3) last element's n_name
Aaron LI
aly at crater.dragonflybsd.org
Sun Nov 8 05:52:50 PST 2026
commit 58194d3e51bc61f9da964620ebb8680b0d4f1627
Author: Aaron LI <aly at aaronly.me>
Date: Sun Nov 8 21:04:24 2026 +0800
world: Use NULL instead of ""/0 for the nlist(3) last element's n_name
This is a follow-up cleanup to the previous commit.
Derived-from: FreeBSD (commit cdfc673811ac)
Summary of changes:
lib/libkvm/kvm_getloadavg.c | 2 +-
lib/libkvm/kvm_getswapinfo.c | 2 +-
lib/libkvm/kvm_x86_64.c | 4 ++--
usr.bin/nfsstat/nfsstat.c | 2 +-
usr.bin/systat/main.c | 4 ++--
usr.bin/systat/vmstat.c | 2 +-
usr.sbin/dconschat/dconschat.c | 2 +-
usr.sbin/ifmcstat/ifmcstat.c | 2 +-
usr.sbin/trpt/trpt.c | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/58194d3e51bc61f9da964620ebb8680b0d4f1627
--
DragonFly BSD source repository
More information about the Commits
mailing list