X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fvserver-stat.c;h=96033edacd4347b6d31986b92038fce63d6bea01;hb=2822ba293eb308225c50d346930c47bf98d9927b;hp=afda36193d7d4bd74a111f17f2a34dc17f8a5dff;hpb=3b34449070c0846fdc49436d1edd5916512f1644;p=util-vserver.git diff --git a/src/vserver-stat.c b/src/vserver-stat.c index afda361..96033ed 100644 --- a/src/vserver-stat.c +++ b/src/vserver-stat.c @@ -1,4 +1,4 @@ -// $Id: vserver-stat.c 2403 2006-11-24 23:06:08Z dhozac $ +// $Id: vserver-stat.c,v 1.22 2005/07/03 12:31:25 ensc Exp $ // Copyright (C) 2003 Enrico Scholz // based on vserver-stat.cc by Guillaum Dallaire and Jacques Gelinas @@ -501,8 +501,6 @@ 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; @@ -543,7 +541,7 @@ int main(int argc, char **argv) default : WRITE_MSG(2, "Try '"); WRITE_STR(2, argv[0]); - WRITE_MSG(2, " --help' for more information.\n"); + WRITE_MSG(2, " --help\" for more information.\n"); return EXIT_FAILURE; break; } @@ -568,7 +566,7 @@ int main(int argc, char **argv) WRITE_MSG(2, "WARNING: can not access /proc/uptime. Usually, this is caused by\n" " procfs-security. Please read the FAQ for more details\n" - " http://linux-vserver.org/Proc-Security\n"); + " http://www.linux-vserver.org/index.php?page=Linux-Vserver+FAQ\n"); Vector_init(&xid_data, sizeof(struct XidData));