* src/useradd.c: Added missing declaration of Mflg.

* src/pwck.c: Only unlock files if they were locked before (e.g.
	not in read-only mode).
	* src/pwck.c: Quote the username in error messages (harmonization
	with other messages).
	* libmisc/find_new_gid.c: Fixed typo (s/grp->gr_gid/group_id/).
	* libmisc/find_new_gid.c: Likewise.
This commit is contained in:
nekral-guest
2008-09-14 13:42:10 +00:00
parent 5df1f2f683
commit f3df48ab4f
5 changed files with 21 additions and 8 deletions

View File

@@ -109,7 +109,7 @@ int find_new_gid (bool sys_group, gid_t *gid, gid_t const *preferred_gid)
*/
if (group_id == gid_max + 1) {
for (group_id = gid_min; group_id < gid_max; group_id++) {
if (0 == used_gids[grp->gr_gid]) {
if (0 == used_gids[group_id]) {
break;
}
}