Merge "avb_add_hash_footer: fix rollback_index format" into main

This commit is contained in:
David Pursell
2024-01-19 21:58:03 +00:00
committed by Gerrit Code Review

View File

@@ -138,7 +138,7 @@ func (a *avbAddHashFooter) GenerateAndroidBuildActions(ctx android.ModuleContext
if rollbackIndex < 0 {
ctx.PropertyErrorf("rollback_index", "Rollback index must be non-negative")
}
cmd.Flag(fmt.Sprintf(" --rollback_index %x", rollbackIndex))
cmd.Flag(fmt.Sprintf(" --rollback_index %d", rollbackIndex))
}
cmd.FlagWithOutput("--image ", a.output)