projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
65600ee
)
Use source variable
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 12 Aug 2011 18:23:02 +0000 (20:23 +0200)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 12 Aug 2011 18:23:02 +0000 (20:23 +0200)
src/vserver-stat.c
patch
|
blob
|
history
diff --git
a/src/vserver-stat.c
b/src/vserver-stat.c
index
636c6b7
..
d11ef3f
100644
(file)
--- 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;
}