diff options
author | Heinrich Schuchardt | 2022-11-20 11:23:24 +0100 |
---|---|---|
committer | Heinrich Schuchardt | 2022-12-02 19:17:24 +0100 |
commit | be2e42fa95b1ae4d74957f762be33edfadb7bb73 (patch) | |
tree | d1c141ebb69b497a9d11bd06a0cd074560c118c6 /disk/part_amiga.c | |
parent | 27380d885d7e17c9bc1f87089d3fe658852c960c (diff) |
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: 4d907025d6a5 ("sandbox: restore ability to access host fs through standard commands")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'disk/part_amiga.c')
0 files changed, 0 insertions, 0 deletions