Skip to content
Commit be2e42fa authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

disk: fix blk_get_device_part_str()



blk_get_device_part_str() should always initialize all info fields
including sys_ind. As a side effect the code is simplified.

Replace '(0 ==' by '(!' to conform with Linux coding style.

Fixes: 4d907025 ("sandbox: restore ability to access host fs through standard commands")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 27380d88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment