fix bug in ntfs_log_parse_option - quiet needs you to clear a level, not set it

edge.strict_endians
flatcap 2005-10-28 16:52:29 +00:00
parent 755ef674e8
commit 09368b5e83
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ BOOL ntfs_log_parse_option(const char *option)
ntfs_log_set_levels(NTFS_LOG_LEVEL_VERBOSE);
return TRUE;
} else if (strcmp(option, "--log-quiet") == 0) {
ntfs_log_set_levels(NTFS_LOG_LEVEL_QUIET);
ntfs_log_clear_levels(NTFS_LOG_LEVEL_QUIET);
return TRUE;
} else if (strcmp(option, "--log-trace") == 0) {
ntfs_log_set_levels(NTFS_LOG_LEVEL_TRACE);