]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: avoid using wrong type for strlen() result
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Jan 2018 14:31:50 +0000 (15:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 22 Jan 2018 14:31:50 +0000 (15:31 +0100)
commit201be4265ff8ce4e66f8a071ca588b2ed8869f61
tree1a823f2a2c9d7e897f43039ce22a8c8dfb5ee729
parent920ce828524afee08a01a73f63205df5dc2c134b
tmpfiles: avoid using wrong type for strlen() result

The result of strlen is size_t, hence let's not store it in an "int"
just to pass it on as as size_t right-away. In fact let's not store it
at all…
src/tmpfiles/tmpfiles.c