Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 413ee282 authored by Julian Calaby's avatar Julian Calaby Committed by David S. Miller
Browse files

sparc64: Fix build warnings in piggyback_64.c



This patch fixes the following build warnings:
arch/sparc/boot/piggyback_64.c: In function 'main':
arch/sparc/boot/piggyback_64.c:44: warning: 'end' may be used uninitialized in this function
arch/sparc/boot/piggyback_64.c:44: warning: 'start' may be used uninitialized in this function

Signed-off-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 14a2ff6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ int main(int argc,char **argv)
	struct stat s;
	int image, tail;
	
	start = end = 0;
	if (stat (argv[3], &s) < 0) die (argv[3]);
	map = fopen (argv[2], "r");
	if (!map) die(argv[2]);