aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-pam/openrc-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openrc-pam/openrc-pam.c')
-rw-r--r--src/openrc-pam/openrc-pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openrc-pam/openrc-pam.c b/src/openrc-pam/openrc-pam.c
index 9fa33d2f..0cd174af 100644
--- a/src/openrc-pam/openrc-pam.c
+++ b/src/openrc-pam/openrc-pam.c
@@ -71,7 +71,7 @@ exec_openrc(pam_handle_t *pamh, bool opening)
if (opening) {
if (count == 0) {
pid = service_start(file);
- rc_service_mark(svc_name, RC_SERVICE_HOTPLUGGED);
+ rc_service_mark(file, RC_SERVICE_HOTPLUGGED);
}
count++;
} else {