]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-setup: remove redundant fflush_and_check() 36521/head
authorLennart Poettering <lennart@poettering.net>
Wed, 26 Feb 2025 08:12:39 +0000 (09:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 26 Feb 2025 08:13:37 +0000 (09:13 +0100)
commitd10d5a050866dd70942201b55df59407017b7fd0
tree42d2d6ad4e41c7ca28ef5f9a4fcc7b6187f94ff8
parentf4e5a730002fa7ed714b89775c3e5fae6d003aae
tpm2-setup: remove redundant fflush_and_check()

The immediately following flink_tmpfile() does that anyway, hence no
need to do so explicitly beforehand.

(Also the log message was wrong: it says "sync" but here we "flush",
which is a much weaker operation)
src/tpm2-setup/tpm2-setup.c