* 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user