Fix assert warning in r_fs_umount

This commit is contained in:
pancake 2021-09-09 20:54:57 +02:00
parent 6fc305c5e6
commit 819a13f816
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ static int cmd_mount(void *data, const char *_input) {
}
break;
case '-':
r_fs_umount (core->fs, input+1);
r_fs_umount (core->fs, input + 1);
break;
case 'j':
{

View File

@ -184,7 +184,7 @@ static inline bool r_fs_match(const char* root, const char* path, int len) {
}
R_API bool r_fs_umount(RFS* fs, const char* path) {
r_return_val_if_fail (fs && path, NULL);
r_return_val_if_fail (fs && path, false);
RFSRoot* root;
RListIter* iter, * riter = NULL;