diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-08-06 20:39:23 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-08-06 20:39:23 +0000 |
commit | edcac5572f2a52fca7975dee53ca4f1e6d0a36eb (patch) | |
tree | 7e051a29e8cad69c122659a299a8c0166021ccc6 /loginutils/addgroup.c | |
parent | f8277ca992a1d08e25b3ffa52ffa3220c566b7a9 (diff) |
Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow.
Diffstat (limited to 'loginutils/addgroup.c')
-rw-r--r-- | loginutils/addgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c index aca3b9267..7878a387b 100644 --- a/loginutils/addgroup.c +++ b/loginutils/addgroup.c @@ -89,7 +89,7 @@ static int addgroup(const char *filename, char *group, gid_t gid) #ifdef CONFIG_FEATURE_SHADOWPASSWDS FILE *etc_gshadow; - const char *gshadow = shadow_file; + const char *gshadow = gshadow_file; #endif struct group gr; @@ -162,4 +162,4 @@ int addgroup_main(int argc, char **argv) return addgroup(group_file, group, gid); } -/* $Id: addgroup.c,v 1.4 2002/07/21 17:33:27 sandman Exp $ */ +/* $Id: addgroup.c,v 1.5 2002/08/06 20:39:23 mjn3 Exp $ */ |