From 243a41fc18f3e36f9997ab295f2933f3a99c9ddf Mon Sep 17 00:00:00 2001 From: rd235 Date: Sat, 19 May 2007 03:56:07 +0000 Subject: [PATCH] a tiny fix about the path of unixcmd configuration file git-svn-id: https://vde.svn.sourceforge.net/svnroot/vde/trunk@161 d37a7db1-d92d-0410-89df-f68f52f87b57 --- vde-2/unixcmd/unixcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vde-2/unixcmd/unixcmd.c b/vde-2/unixcmd/unixcmd.c index 98bc557..4750c22 100644 --- a/vde-2/unixcmd/unixcmd.c +++ b/vde-2/unixcmd/unixcmd.c @@ -31,14 +31,14 @@ #include #include -#define STD_RC_DIR INSTALLPATH"/etc/unixcmd" +#define STD_RC_DIR INSTALLPATH"/etc" #define STD_SOCK_DIR "/var/run" void usage(char *progname){ /* TODO: write it better */ printf("Usage: %s OPTIONS command\n", progname); printf("\t-s sockname : management socket path\n"); - printf("\t-f rcfile : configuration path (default is %s%s)\n", INSTALLPATH, progname); + printf("\t-f rcfile : configuration path (default is %s/%s)\n", STD_RC_DIR, progname); printf("\t-v : run parse machine in debug mode\n"); } -- 2.11.4.GIT