]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/install: consistently use 'lp' as the name for the LookupPaths instance
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Mar 2022 16:17:39 +0000 (17:17 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2022 09:11:37 +0000 (10:11 +0100)
commitc3e7fba07c19f232f5945c07e7cc730986615adf
treede8441eeb3c26e33d02a825677c0b2baf6f4bdf4
parent1219bd430675b09a89de3c235a76e12c6d68276a
shared/install: consistently use 'lp' as the name for the LookupPaths instance

Most of the codebase does this. Here we were using 'p' or 'paths'
instead. Those names are very generic and not good for a "global-like"
object like the LookupPaths instance. And we also have 'path' variable,
and it's confusing to have 'path' and 'paths' in the same function that
are unrelated.

Also pass down LookupPaths* lower in the call stack, in preparation for
future changes.
src/shared/install.c