aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdg-autostart-generator/xdg-autostart-service.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-10 12:02:03 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-10 12:09:35 +0100
commiteb79d39138d36f6f184eb30187646df1226cac67 (patch)
tree16c94aad863b67fca5a6e41d35acef79d4ca6205 /src/xdg-autostart-generator/xdg-autostart-service.c
parentunits: start systemd-resolved in basic.target (diff)
downloadsystemd-eb79d39138d36f6f184eb30187646df1226cac67.tar.xz
systemd-eb79d39138d36f6f184eb30187646df1226cac67.zip
xdg-autostart-generator: make parameter const
Diffstat (limited to 'src/xdg-autostart-generator/xdg-autostart-service.c')
-rw-r--r--src/xdg-autostart-generator/xdg-autostart-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c
index 241a5b3cfd6..3fd1f4bbf28 100644
--- a/src/xdg-autostart-generator/xdg-autostart-service.c
+++ b/src/xdg-autostart-generator/xdg-autostart-service.c
@@ -502,7 +502,7 @@ static int xdg_autostart_generate_desktop_condition(
}
int xdg_autostart_service_generate_unit(
- XdgAutostartService *service,
+ const XdgAutostartService *service,
const char *dest) {
_cleanup_free_ char *path_escaped = NULL, *exec_start = NULL, *unit = NULL;