From 5b4184f854cb12f32149608868295e847191ef4a Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 12 Aug 2011 20:23:02 +0200 Subject: [PATCH] Use source variable --- src/vserver-stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vserver-stat.c b/src/vserver-stat.c index 636c6b7..d11ef3f 100644 --- a/src/vserver-stat.c +++ b/src/vserver-stat.c @@ -389,7 +389,7 @@ registerXidCgroups(struct Vector *vec, struct process_info *process) char *dir = strrchr(vhi_name, '/'); if (dir == NULL) { WRITE_MSG(2, "invalid context name: "); - WRITE_STR(2, dir); + WRITE_STR(2, vhi_name); WRITE_MSG(2, "\n"); return; } -- 1.8.1.5