Description of problem: compiler warning when building useradd tool. Version-Release number of selected component (if applicable): shadow-utils-4.0.18.1-12.fc7.src.rpm How reproducible: Steps to Reproduce: 1. Build shadow-utils 2. Read compiler warnings 3. Actual results: warnings generated. Expected results: no warnings. Additional info: Patch "shadow-4.0.16-lOption.patch" includes this hunk: --- shadow-4.0.17/src/useradd.c.lOption 2006-11-02 18:23:50.000000000 +0100 +++ shadow-4.0.17/src/useradd.c 2006-11-02 18:26:46.000000000 +0100 @@ -124,6 +124,7 @@ Gflg = 0, /* secondary group set for new account */ kflg = 0, /* specify a directory to fill new user directory */ mflg = 0, /* create user's home directory if it doesn't exist */ + lflg = 0; /* do not add user to lastlog database file */ Mflg = 0, /* do NOT create user's home directory no matter what */ nflg = 0, /* do NOT create a group having the same name as the user */ oflg = 0, /* permit non-unique user ID to be specified with -u */ The semicolon after the 'lflg' entry is wrong; it must be replaced by comma, like in all the other lines.
fixed.