* 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

@ -110,7 +110,7 @@ int find_new_uid (bool sys_user, uid_t *uid, uid_t const *preferred_uid)
*/
if (user_id == uid_max + 1) {
for (user_id = uid_min; user_id < uid_max; user_id++) {
if (0 == used_uids[pwd->pw_uid]) {
if (0 == used_uids[user_id]) {
break;
}
}