* lib/fields.c: Fixed typo from 2010-02-15. field insteadof cp

ought to be checked.
	* src/vipw.c: Use Prog instead of progname. This is needed since
	Prog is used in the library.
This commit is contained in:
nekral-guest
2011-07-08 19:56:18 +00:00
parent cc6eaf9584
commit 13873a8799
3 changed files with 24 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ int valid_field (const char *field, const char *illegal)
const char *cp;
int err = 0;
if (NULL == cp) {
if (NULL == field) {
return -1;
}