From 149a62bc83166aeaf36eaf5f0cde1c55607ddde8 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 27 Mar 2015 11:29:25 +0100 Subject: [PATCH] virCgroupNew: Enhance debug message When creating new internal representation of cgroups, all passed arguments are logged. Well, except for two: pid and pointer for return value. Lets log them too. Signed-off-by: Michal Privoznik --- src/util/vircgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c index cc67f151b8..d42f4335a1 100644 --- a/src/util/vircgroup.c +++ b/src/util/vircgroup.c @@ -1050,8 +1050,8 @@ virCgroupNew(pid_t pid, int controllers, virCgroupPtr *group) { - VIR_DEBUG("parent=%p path=%s controllers=%d", - parent, path, controllers); + VIR_DEBUG("pid=%lld path=%s parent=%p controllers=%d group=%p", + (long long) pid, path, parent, controllers, group); *group = NULL; if (VIR_ALLOC((*group)) < 0)