[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] Add missing break statement in kpartx.



> diff --git a/kpartx/kpartx.c b/kpartx/kpartx.c
> index 05dfce7..0711450 100644
> --- a/kpartx/kpartx.c
> +++ b/kpartx/kpartx.c
> @@ -241,6 +241,7 @@ main(int argc, char **argv){
>       while ((arg = getopt(argc, argv, short_opts)) != EOF) switch(arg) {
>           case 'r':
>               ro=1;
> +            break;
>           case 'f':
>               force_devmap=1;
>               break;
> @@ -267,6 +268,7 @@ main(int argc, char **argv){
>               break;
>           case 's':
>               sync = 1;
> +            break;
>           case 'u':
>               what = UPDATE;
>               break;

Merged.

Thanks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]