summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III2002-08-06 20:39:23 +0000
committerManuel Novoa III2002-08-06 20:39:23 +0000
commitedcac5572f2a52fca7975dee53ca4f1e6d0a36eb (patch)
tree7e051a29e8cad69c122659a299a8c0166021ccc6
parentf8277ca992a1d08e25b3ffa52ffa3220c566b7a9 (diff)
downloadbusybox-edcac5572f2a52fca7975dee53ca4f1e6d0a36eb.zip
busybox-edcac5572f2a52fca7975dee53ca4f1e6d0a36eb.tar.gz
Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow.
-rw-r--r--loginutils/addgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c
index aca3b92..7878a38 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 $ */