From: Wiktor Garbacz Date: Thu, 28 Jan 2021 08:47:31 +0000 (+0100) Subject: Fix build X-Git-Tag: 3.0.20210707~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88647a0819df87f10ff3bfe9f9f1bf961894af44;p=platform%2Fupstream%2Fnsjail.git Fix build --- diff --git a/caps.cc b/caps.cc index c23268a..9c4a937 100644 --- a/caps.cc +++ b/caps.cc @@ -257,8 +257,8 @@ bool initNs(nsjconf_t* nsjconf) { continue; } if (prctl(PR_CAPBSET_READ, (unsigned long)i.val, 0UL, 0UL, 0UL) == - -1 && errno = EINVAL) { - LOG_D("Skipping unsupported capability: %s", i.name.c_str()); + -1 && errno == EINVAL) { + LOG_D("Skipping unsupported capability: %s", i.name); continue; } dbgmsg.append(" ").append(i.name);