summaryrefslogtreecommitdiff
path: root/src/collect
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-11-05 12:56:49 +0100
committerAnthony G. Basile <blueness@gentoo.org>2014-11-07 08:29:22 -0500
commit0f89a3c56311da315e1575eff3eef6efe6eb2039 (patch)
treec53967a4657493aebf10bdfab6817a1080ccaf99 /src/collect
parent7be58d7b4810d0ae0a5bc95be0a427ff91179f73 (diff)
udev: avoid magic constants in kernel-cmdline parsers
Lets recognize the fact that startswith() returns a pointer to the tail on success. Use it instead of hard-coding string-lengths as magic constants. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/collect')
0 files changed, 0 insertions, 0 deletions