1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00

sd-bus: fix copy-paste error

This commit is contained in:
Lukasz Skalski 2015-01-08 11:10:21 +01:00 committed by David Herrmann
parent 92ff080be1
commit 23539f6779

View File

@ -219,7 +219,7 @@ _public_ int sd_bus_release_name(sd_bus *bus, const char *name) {
assert_return(service_name_is_valid(name), -EINVAL);
assert_return(name[0] != ':', -EINVAL);
/* Don't allow requesting the special driver and local names */
/* Don't allow releasing the special driver and local names */
if (STR_IN_SET(name, "org.freedesktop.DBus", "org.freedesktop.DBus.Local"))
return -EINVAL;