userdel: fix wrong variable name in tcb case
Found in mandriva distro patch, and with a test build. Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
@@ -926,7 +926,7 @@ static int remove_tcbdir (const char *user_name, uid_t user_id)
|
|||||||
{
|
{
|
||||||
char *buf;
|
char *buf;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
size_t bufsize = (sizeof TCB_DIR) + strlen (user_name) + 2;
|
size_t buflen = (sizeof TCB_DIR) + strlen (user_name) + 2;
|
||||||
|
|
||||||
if (!getdef_bool ("USE_TCB")) {
|
if (!getdef_bool ("USE_TCB")) {
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user