diff --git a/src/server/slave.c b/src/server/slave.c --- a/src/server/slave.c +++ b/src/server/slave.c @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) if(argc != 4) { - fprintf(stderr, "I need more arguments!\n%d is not enough!\n Invoke 'slave -c to register. \n Already registered? Edit your distrend.conf file!'", argc - 1); + fprintf(stderr, "I need more arguments!\n%d is not enough!\n Invoke 'slave -c to register. \n Already registered? Edit your distrenslave.conf file!'", argc - 1); return 234; } @@ -81,7 +81,7 @@ struct options_common *commonopts options_init(argc,argv,&my_cfg, &myopts, "slave", &commonopts); if(key == NULL || username == NULL){ - fprintf(stderr,"You didn't register! Please register or add your username to distrend.conf"); + fprintf(stderr,"You didn't register! Please register or add your username to distrenslave.conf"); } else if(key != NULL || username != NULL){ loginuser(username); // Logs in user to the server