From e9f076fe087178c44d65ee1471b440bb35580382 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sat, 29 Oct 2005 12:09:49 +0000 Subject: [PATCH] fillName(): initialize 'obj->cfgstyle' to vcCFG_AUTO git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2213 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/vserver-stat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util-vserver/src/vserver-stat.c b/util-vserver/src/vserver-stat.c index b68b57c..6d78f9d 100644 --- a/util-vserver/src/vserver-stat.c +++ b/util-vserver/src/vserver-stat.c @@ -501,6 +501,8 @@ fillName(void *obj_v, void UNUSED * a) default : { char * cfgpath; + obj->cfgstyle = vcCFG_AUTO; + if ((cfgpath = vc_getVserverByCtx(obj->xid, &obj->cfgstyle, 0))==0 || (obj->name = vc_getVserverName(cfgpath, obj->cfgstyle))==0) { obj->name = 0; -- 1.8.1.5