* src/useradd.c: The ID argument of audit_logger is an unsigned
int. Use AUDIT_NO_ID instead of -1. * src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t. * src/useradd.c: The size argument of fgets is an int, not a size_t. * src/useradd.c: Cast number of days to a long integer. * src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial value of spent.sp_flag. * src/useradd.c: Use a %lu format and cast group and user IDs to unsigned long integers.
This commit is contained in:
13
ChangeLog
13
ChangeLog
@@ -1,3 +1,16 @@
|
||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/useradd.c: The ID argument of audit_logger is an unsigned
|
||||
int. Use AUDIT_NO_ID instead of -1.
|
||||
* src/useradd.c: Cast the parsed GID/UID to a gid_t/uid_t.
|
||||
* src/useradd.c: The size argument of fgets is an int, not a
|
||||
size_t.
|
||||
* src/useradd.c: Cast number of days to a long integer.
|
||||
* src/useradd.c: Use SHADOW_SP_FLAG_UNSET for the initial
|
||||
value of spent.sp_flag.
|
||||
* src/useradd.c: Use a %lu format and cast group and user IDs to
|
||||
unsigned long integers.
|
||||
|
||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/su.c: fork() and waitpid() return a pid_t, not an int.
|
||||
|
||||
Reference in New Issue
Block a user