randomconfig fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2020-12-29 16:53:11 +01:00
parent c7ef818768
commit 77a51a2709
13 changed files with 45 additions and 18 deletions

View file

@ -362,7 +362,7 @@ static const char bb_msg_variable_not_found[] ALIGN1 = "variable: %s not found";
static void safe_memcpy(char *dest, const char *src, int len)
{
memcpy(dest , src, len);
memcpy(dest, src, len);
dest[len] = '\0';
}
@ -1106,7 +1106,7 @@ static int copy_inode(const char *destpath, const struct stat *dest_stat,
do_chown:
if (chown(destpath, source_stat->st_uid, source_stat->st_gid) == 0)
return TRUE;
/*break;*/
/*break;*/
}
return FALSE;
} /* End Function copy_inode */