diff options
author | Robert Reif <reif@earthlink.net> | 2009-06-21 18:45:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-26 04:55:58 +0200 |
commit | 22b096a8907e5184f25fafd1b73f0b3633d52495 (patch) | |
tree | 6648424b3a39f37acb3af06f39cd3a5ea5f553ad /arch/sparc/boot | |
parent | sparc64: Fix build warnings in piggyback_64.c (diff) | |
download | linux-22b096a8907e5184f25fafd1b73f0b3633d52495.tar.xz linux-22b096a8907e5184f25fafd1b73f0b3633d52495.zip |
sparc32: Fix obvious build issues for tftpboot.img build.
Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/boot')
-rw-r--r-- | arch/sparc/boot/Makefile | 2 | ||||
-rw-r--r-- | arch/sparc/boot/piggyback_32.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile index 96041a8d39e8..5e2caeb31109 100644 --- a/arch/sparc/boot/Makefile +++ b/arch/sparc/boot/Makefile @@ -58,7 +58,7 @@ $(obj)/image: $(obj)/btfix.o FORCE $(obj)/zImage: $(obj)/image $(call if_changed,strip) -$(obj)/tftpboot.img: $(obj)/piggyback $(obj)/System.map $(obj)/image FORCE +$(obj)/tftpboot.img: $(obj)/piggyback_32 $(obj)/System.map $(obj)/image FORCE $(call if_changed,elftoaout) $(call if_changed,piggy) diff --git a/arch/sparc/boot/piggyback_32.c b/arch/sparc/boot/piggyback_32.c index c9f500c1a8b2..3f0f93354543 100644 --- a/arch/sparc/boot/piggyback_32.c +++ b/arch/sparc/boot/piggyback_32.c @@ -70,7 +70,7 @@ void die(char *str) int main(int argc,char **argv) { static char aout_magic[] = { 0x01, 0x03, 0x01, 0x07 }; - unsigned char buffer[1024], *q, *r; + char buffer[1024], *q, *r; unsigned int i, j, k, start, end, offset; FILE *map; struct stat s; |