chiark / gitweb /
util: place a couple of _likely_ around cache TLS vars
[elogind.git] / src / cgroup-util.c
index 8e574bf98a359b9597576ce7a6da19cff716c92e..fd0ac98e28faad081e1b2faa17425b592f2e9ea7 100644 (file)
@@ -488,7 +488,7 @@ int cg_get_path(const char *controller, const char *path, const char *suffix, ch
         assert(controller);
         assert(fs);
 
-        if (!good) {
+        if (_unlikely_(!good)) {
                 int r;
 
                 r = path_is_mount_point("/sys/fs/cgroup");