chiark / gitweb /
build-sys: rename LEGACY to NOLEGACY to better reflect meaning
[elogind.git] / src / cgroups-agent / cgroups-agent.c
index 7a6173e2a26fed3d5f03226036a9c80150ec315e..0e3d2b75415637560cd42f52cb6d2ab628b57d59 100644 (file)
@@ -49,7 +49,7 @@ int main(int argc, char *argv[]) {
          * are called when the dbus service is shut down. */
 
         if (!(bus = dbus_connection_open_private("unix:path=/run/systemd/private", &error))) {
-#ifndef LEGACY
+#ifndef NOLEGACY
                 dbus_error_free(&error);
 
                 /* Retry with the pre v21 socket name, to ease upgrades */
@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) {
                         log_error("Failed to get D-Bus connection: %s", bus_error_message(&error));
                         goto finish;
                 }
-#ifndef LEGACY
+#ifndef NOLEGACY
         }
 #endif