summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorRobert Griebl2002-07-21 17:33:27 +0000
committerRobert Griebl2002-07-21 17:33:27 +0000
commit967c3d44066d3f8b290953d8896765ec1edf4ef7 (patch)
tree583680b59a53df6d29d8a9c33e62bd6f02e4a622 /loginutils
parent1cd044549531ef1c4016ec3c60652dad95b1617f (diff)
downloadbusybox-967c3d44066d3f8b290953d8896765ec1edf4ef7.zip
busybox-967c3d44066d3f8b290953d8896765ec1edf4ef7.tar.gz
Fixed two compiler warnings
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/addgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c
index 4a5ef85..aca3b92 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;
- char *gshadow = shadow_file;
+ const char *gshadow = shadow_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.3 2002/07/03 23:19:18 andersen Exp $ */
+/* $Id: addgroup.c,v 1.4 2002/07/21 17:33:27 sandman Exp $ */