]> err.no Git - systemd/commit
dbus-manager: fix tainted string
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 9 May 2012 19:42:56 +0000 (21:42 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 9 May 2012 19:42:56 +0000 (21:42 +0200)
commit1ebf0cb73dacaf12c095580d8223a83cc96e441d
tree1cfae87554885c35d09a0b40287ea30af59bad29
parentb809bd0940b3c12d49cfc79d2a2c1a449b3dcf50
dbus-manager: fix tainted string

The pointer to the end of the string was not advanced after adding
the "cgroups-missing" taint. If "local-hwclock" was detected too,
it would overwrite the previous string.

With 'e' always pointing to the end of the string, removing the last
delimiter is easier.
src/core/dbus-manager.c