X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Flogin%2Flogind.c;h=47b306b6194df13e42c0ce097edc28f6982a8aeb;hb=718db96199e;hp=1d16eaa7b8f801201ae9884b85a38983c5d0812c;hpb=3febea3a0b0a968ea281e7959c1654cbaf95c9bf;p=elogind.git diff --git a/src/login/logind.c b/src/login/logind.c index 1d16eaa7b..47b306b61 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -958,7 +958,7 @@ static int manager_dispatch_idle_action(sd_event_source *s, uint64_t t, void *us return r; } - r = sd_event_source_set_priority(m->idle_action_event_source, SD_PRIORITY_IDLE+10); + r = sd_event_source_set_priority(m->idle_action_event_source, SD_EVENT_PRIORITY_IDLE+10); if (r < 0) { log_error("Failed to set idle event source priority: %s", strerror(-r)); return r;