Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit def6c151 authored by Tim Murray's avatar Tim Murray
Browse files

Fix build break with uninitialized boost_fd.

Change-Id: Icf209e2e0f4835db01f61dbf83b4715db9ef03a9
parent aa46d590
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -264,8 +264,8 @@ int set_cpuset_policy(int tid, SchedPolicy policy)
    policy = _policy(policy);
    pthread_once(&the_once, __initialize);

    int fd;
    int boost_fd;
    int fd = -1;
    int boost_fd = -1;
    switch (policy) {
    case SP_BACKGROUND:
        fd = bg_cpuset_fd;