X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fanalysisd%2Fmakelists.c;fp=src%2Fanalysisd%2Fmakelists.c;h=ee1a7147b267d865e0e0fbcfbb9913d3ffa662d1;hp=a5afd771205001619446b673a0c549bd3fdfad07;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a diff --git a/src/analysisd/makelists.c b/src/analysisd/makelists.c index a5afd77..ee1a714 100644 --- a/src/analysisd/makelists.c +++ b/src/analysisd/makelists.c @@ -56,7 +56,7 @@ void Lists_OP_CreateLists(); void makelist_help(const char *prog) { print_out(" "); - print_out("%s %s - %s (%s)", __name, __version, __author, __contact); + print_out("%s %s - %s (%s)", __ossec_name, __version, __author, __contact); print_out("%s", __site); print_out(" "); print_out(" %s: -[Vhdt] [-u user] [-g group] [-c config] [-D dir]", prog); @@ -118,6 +118,7 @@ int main(int argc, char **argv) if(!optarg) ErrorExit("%s: -D needs an argument",ARGV0); dir = optarg; + break; case 'c': if(!optarg) ErrorExit("%s: -c needs an argument",ARGV0); @@ -153,7 +154,7 @@ int main(int argc, char **argv) debug1(READ_CONFIG, ARGV0); - /* Setting the group */ + /* Setting the group */ if(Privsep_SetGroup(gid) < 0) ErrorExit(SETGID_ERROR,ARGV0,group);