]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
tools: Fix loading of multiple images
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 9 May 2014 16:08:20 +0000 (18:08 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 9 May 2014 16:11:48 +0000 (18:11 +0200)
Regression of regression fix c7fc4f1b04: We were incrementing the image
pointer twice, once in the loop control statement and the second time in
the loop body. Remove the latter.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse.c

index 95f758f5230bfe6e3ed93a32ac0d72bd1c13dc51..ab3704ef096b57977a96fd4d1c066a6cd48854a3 100644 (file)
@@ -231,7 +231,6 @@ static int cell_shutdown_load(int argc, char *argv[],
                                help(argv[0], 1);
                        arg_num += 2;
                }
-               image++;
        }
 
        fd = open_dev();