]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/commonio.c: Call utime for correct target
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 14 Jan 2026 21:26:00 +0000 (22:26 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Wed, 14 Jan 2026 22:43:01 +0000 (23:43 +0100)
commit6cd3dcbbcc5b3babb5c3fd0c0d5b91debc06778e
treeab3edb38647737c28a55b14bdaebe681b3f25b92
parent65668fe093d3b7284aef52a2d883e9e033a20faa
lib/commonio.c: Call utime for correct target

Since tmpf has been already renamed to target at this point, call utime
with target instead of tmpf.

Fixes: f8732b17dd1d (2026-01-14; "lib/commonio.c: Use unpredictable temporary names")
Reported-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/commonio.c