Build fix -- accidently committed stuff that doesn't exist yet.

* Also removed debug leftover from register_additional_commands().
This commit is contained in:
Axel Dörfler 2012-03-01 09:32:09 +01:00
parent 7633665c77
commit e7985acc3c
2 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,6 @@ namespace FSShell {
void
register_additional_commands()
{
puts("************************ HERE I AM!!!!!!!!!!!!!!!!!");
CommandManager::Default()->AddCommand(command_checkfs, "checkfs",
"check file system");
}

View File

@ -37,7 +37,7 @@ command_checkfs(int argc, const char* const* argv)
result.flags = 0;
if (!checkOnly) {
result.flags |= BFS_FIX_BITMAP_ERRORS | BFS_REMOVE_WRONG_TYPES
| BFS_REMOVE_INVALID | BFS_FIX_NAME_MISMATCHES | BFS_FIX_BPLUSTREES;
| BFS_REMOVE_INVALID | BFS_FIX_NAME_MISMATCHES /*| BFS_FIX_BPLUSTREES*/;
}
// start checking
@ -70,8 +70,8 @@ command_checkfs(int argc, const char* const* argv)
fssh_dprintf(", has wrong type");
if ((result.errors & BFS_NAMES_DONT_MATCH) != 0)
fssh_dprintf(", names don't match");
if ((result.errors & BFS_INVALID_BPLUSTREE) != 0)
fssh_dprintf(", invalid b+tree");
// if ((result.errors & BFS_INVALID_BPLUSTREE) != 0)
// fssh_dprintf(", invalid b+tree");
fssh_dprintf("\n");
}
if ((result.mode & (S_INDEX_DIR | 0777)) == S_INDEX_DIR)