mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Make sgetbs() return the number of characters read on success
This commit is contained in:
parent
97419fb67f
commit
969cb5ca31
5 changed files with 35 additions and 5 deletions
|
|
@ -2416,7 +2416,7 @@ static void state_read_content(struct snapraid_state* state, const char* path, S
|
|||
int has_info;
|
||||
int has_invalid_parity;
|
||||
char buffer[PATH_MAX];
|
||||
int ret;
|
||||
ssize_t ret;
|
||||
tommy_array disk_mapping;
|
||||
uint32_t mapping_max;
|
||||
tommy_hashdyn bucket_hash;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue