INFO("Container does not run in a separate core scheduling domain");
else
INFO("Container runs in separate core scheduling domain %llu",
- (long long unsigned int)ctx->core_sched_cookie);
+ (llu)ctx->core_sched_cookie);
ret = strnprintf(path, sizeof(path), "/proc/%d", ctx->init_pid);
if (ret < 0)
if (!core_scheduling_cookie_valid(core_sched_cookie) &&
ctx->core_sched_cookie != core_sched_cookie) {
SYSERROR("Invalid core scheduling domain cookie %llu != %llu",
- (long long unsigned int)core_sched_cookie,
- (long long unsigned int)ctx->core_sched_cookie);
+ (llu)core_sched_cookie,
+ (llu)ctx->core_sched_cookie);
goto on_error;
}
INFO("Joined core scheduling domain of %d with cookie %lld",
- ctx->init_pid, core_sched_cookie);
+ ctx->init_pid, (llu)core_sched_cookie);
}
/* A description of the purpose of this functionality is provided in the
"pointer type mismatch in container_of()"); \
((type *)(__mptr - offsetof(type, member))); })
+typedef long long unsigned int llu;
+
#endif /* __LXC_MACRO_H */
return syserror("Failed to retrieve core scheduling domain cookie");
TRACE("Created new core scheduling domain with cookie %llu",
- (long long unsigned int)conf->sched_core_cookie);
+ (llu)conf->sched_core_cookie);
return 0;
}