Skip to content

Commit

Permalink
Fix ext4_device_unregister return code (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Huveneers <[email protected]>
  • Loading branch information
huven and huven authored Sep 22, 2022
1 parent 0493f0a commit 1eee453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ext4.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ int ext4_device_unregister(const char *dev_name)
continue;

memset(&s_bdevices[i], 0, sizeof(s_bdevices[i]));
return EOK;
}

return ENOENT;
Expand Down

0 comments on commit 1eee453

Please sign in to comment.