X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc%2Fboot%2Futils%2Fmkbugboot.c;h=f6629a28e88dde18aaae7a83c0064b497ce7812b;hb=6f71f83334a552167ccbbd42fe5dd979428c89e4;hp=886122283f39ae19ae0eab48c55874fb686bbd84;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/arch/ppc/boot/utils/mkbugboot.c b/arch/ppc/boot/utils/mkbugboot.c index 886122283..f6629a28e 100644 --- a/arch/ppc/boot/utils/mkbugboot.c +++ b/arch/ppc/boot/utils/mkbugboot.c @@ -96,7 +96,7 @@ void write_bugboot_header(int32_t out_fd, uint32_t boot_size) uint8_t header_block[HEADER_SIZE]; bug_boot_header_t *bbh = (bug_boot_header_t *)&header_block[0]; - memset(header_block, 0, HEADER_SIZE); + bzero(header_block, HEADER_SIZE); /* Fill in the PPCBUG ROM boot header */ strncpy(bbh->magic_word, "BOOT", 4); /* PPCBUG magic word */