Commit deaa28bb authored by Connor O'Brien's avatar Connor O'Brien
Browse files

Check for valid slot number in boot_control functions



Calls with invalid slot numbers currently return 0 but should return
an error instead.

Bug: 64914580
Test: make bootctrl.avb
Change-Id: I4e076f21fc73c017993cb9cd726360ddb90626a9
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
parent 34ec123c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment