git: DragonFly_RELEASE_6_4 pututxline(3): Initialize the lastlogx struct for updlastlogx()
Aaron LI
aly at crater.dragonflybsd.org
Thu Nov 12 23:21:40 PST 2026
commit 0c2b1461e3223c079a3a831d78f53dbf21d34304
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/0c2b1461e3223c079a3a831d78f53dbf21d34304
--
DragonFly BSD source repository
More information about the Commits
mailing list