git: pututxline(3): Initialize the lastlogx struct for updlastlogx()
Aaron LI
aly at crater.dragonflybsd.org
Sun Oct 11 07:02:28 PDT 2026
commit 024d1b04027683c42087714d1c13f4952671efcf
Author: Aaron LI <aly at aaronly.me>
Date: Sun Oct 11 21:05:21 2026 +0800
pututxline(3): Initialize the lastlogx struct for updlastlogx()
This doesn't fix a real bug, because the uninitialized fields in 'struct
lastlogx' are currently unused by updlastlogx(). Fix it to be
future-proof.
Summary of changes:
lib/libc/gen/utmpx.c | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/024d1b04027683c42087714d1c13f4952671efcf
--
DragonFly BSD source repository
More information about the Commits
mailing list