From edcac5572f2a52fca7975dee53ca4f1e6d0a36eb Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Tue, 6 Aug 2002 20:39:23 +0000 Subject: Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow. --- loginutils/addgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loginutils') 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 $ */ -- cgit v1.2.3