A terminal NUL is required by caller's use of strchr. It's better not to use strncpy at all, since there is no need to zero out hundreds of trailing bytes for each iteration. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> |
||
---|---|---|
.. | ||
cpu-qom.h | ||
cpu.h | ||
excp_helper.c | ||
fpu_helper.c | ||
helper.c | ||
helper.h | ||
helper_regs.h | ||
int_helper.c | ||
kvm.c | ||
kvm_ppc.c | ||
kvm_ppc.h | ||
machine.c | ||
Makefile.objs | ||
mem_helper.c | ||
mfrom_table.c | ||
mfrom_table_gen.c | ||
misc_helper.c | ||
mmu_helper.c | ||
mpic_helper.c | ||
STATUS | ||
timebase_helper.c | ||
translate.c | ||
translate_init.c |