Add fsh_t type for filesystem handles
This commit is contained in:
@ -44,7 +44,7 @@ void set_config(void) {
|
||||
}
|
||||
|
||||
void do_file(char *filepath) {
|
||||
int32_t h = fs_openf(filepath, FS_OF_READ);
|
||||
fsh_t h = fs_openf(filepath, FS_OF_READ);
|
||||
if (h < 0) {
|
||||
LOG(LOG_ERR, "Could not open %s: %s\n", filepath, ERRSTRING(h));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user