summaryrefslogtreecommitdiff
path: root/src/cgroup-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-01 05:05:59 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-01 05:05:59 +0200
commit3bfc71846c3eac9011f0182b0c8d5639a9549228 (patch)
treeeca2ab856c7993a19444db42d2e02ce08db92786 /src/cgroup-util.c
parentb636465bc0190448f960791cd059c4dd1fa37717 (diff)
util: place a couple of _likely_ around cache TLS vars
Diffstat (limited to 'src/cgroup-util.c')
-rw-r--r--src/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgroup-util.c b/src/cgroup-util.c
index 8e574bf98a..fd0ac98e28 100644
--- a/src/cgroup-util.c
+++ b/src/cgroup-util.c
@@ -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");