aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/boot/piggyback_32.c
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2009-06-21 12:45:44 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-25 22:55:58 -0400
commit22b096a8907e5184f25fafd1b73f0b3633d52495 (patch)
tree6648424b3a39f37acb3af06f39cd3a5ea5f553ad /arch/sparc/boot/piggyback_32.c
parent413ee282a510afb2f18975a189501f39d279a906 (diff)
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/piggyback_32.c')
-rw-r--r--arch/sparc/boot/piggyback_32.c2
1 files changed, 1 insertions, 1 deletions
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)
70int main(int argc,char **argv) 70int main(int argc,char **argv)
71{ 71{
72 static char aout_magic[] = { 0x01, 0x03, 0x01, 0x07 }; 72 static char aout_magic[] = { 0x01, 0x03, 0x01, 0x07 };
73 unsigned char buffer[1024], *q, *r; 73 char buffer[1024], *q, *r;
74 unsigned int i, j, k, start, end, offset; 74 unsigned int i, j, k, start, end, offset;
75 FILE *map; 75 FILE *map;
76 struct stat s; 76 struct stat s;