[PATCH] ppc64 boot: remove argv usage

Hollis Blanchard hollis at penguinppc.org
Thu Nov 10 10:48:54 EST 2005


On Nov 9, 2005, at 1:52 PM, Olaf Hering wrote:

> @@ -69,6 +70,7 @@ int main(int argc, char **argv)
>  		fprintf(stderr, "Name of RAM disk file missing.\n");
>  		exit(1);
>  	}
> +	rd_name = argv[1]
>
>  	if (argc < 3) {
>  		fprintf(stderr, "Name of System Map input file is missing.\n");

A semicolon would probably be useful here. :)

-Hollis




More information about the Linuxppc64-dev mailing list