-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <sys/wait.h>
#include <unistd.h>
#include "alloc-util.h"
#include "bus-internal.h"
#include "bus-kernel.h"
-#include "bus-util.h"
-#include "def.h"
+#include "constants.h"
#include "fd-util.h"
#include "missing_resource.h"
+#include "string-util.h"
#include "time-util.h"
-#include "util.h"
#define MAX_SIZE (2*1024*1024)
return;
} else if (!sd_bus_message_is_signal(m, NULL, NULL))
- assert_not_reached("Unknown method");
+ assert_not_reached();
}
}
MODE_CHART,
} mode = MODE_BISECT;
Type type = TYPE_LEGACY;
- int i, pair[2] = { -1, -1 };
+ int i, pair[2] = { -EBADF, -EBADF };
_cleanup_free_ char *address = NULL, *server_name = NULL;
_cleanup_close_ int bus_ref = -1;
const char *unique;