X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind.c;h=47b306b6194df13e42c0ce097edc28f6982a8aeb;hp=1d16eaa7b8f801201ae9884b85a38983c5d0812c;hb=718db96199eb307751264e4163555662c9a389fa;hpb=3febea3a0b0a968ea281e7959c1654cbaf95c9bf 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;