Fix return in addmember and addclub

This commit is contained in:
Michael Spang 2007-12-12 00:02:53 -05:00
parent 7254b4c880
commit 3977cab631
2 changed files with 4 additions and 8 deletions

View File

@ -40,7 +40,7 @@ static void usage() {
exit(2);
}
void addclub() {
int addclub() {
int krb_ok, user_ok, group_ok, home_ok, quota_ok;
int id;
char homedir[1024];
@ -175,7 +175,5 @@ int main(int argc, char *argv[]) {
userid = argv[optind++];
name = argv[optind++];
addclub();
return 0;
return addclub();
}

View File

@ -45,7 +45,7 @@ static void usage() {
exit(2);
}
void addmember() {
int addmember() {
int krb_ok, user_ok, group_ok, home_ok, quota_ok;
int id;
char homedir[1024];
@ -190,7 +190,5 @@ int main(int argc, char *argv[]) {
if (argc - optind)
program = argv[optind++];
addmember();
return 0;
return addmember();
}