[PATCH] commands/splash: fix '-y' option handling

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Jan 26 00:51:14 PST 2015


> On Jan 25, 2015, at 9:22 PM, Antony Pavlov <antonynpavlov at gmail.com> wrote:
> 
> The '-y' and '-o' options are independent,
> so just add missing 'break'.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
> commands/splash.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/commands/splash.c b/commands/splash.c
> index 9bd84fb..077c0e4 100644
> --- a/commands/splash.c
> +++ b/commands/splash.c
> @@ -41,6 +41,7 @@ static int do_splash(int argc, char *argv[])
> 			break;
> 		case 'y':
> 			s.y = simple_strtoul(optarg, NULL, 0);
> +			break;
> 		case 'o':
> 			offscreen = 1;
> 		}
> -- 
> 2.1.4

I already send a patch weeks ago to fix

Best Regards,
J.
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox




More information about the barebox mailing list