diff options
Diffstat (limited to 'bin/schroot-base/schroot-base-options.cc')
-rw-r--r-- | bin/schroot-base/schroot-base-options.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/schroot-base/schroot-base-options.cc b/bin/schroot-base/schroot-base-options.cc index e4621870..d32a0d7e 100644 --- a/bin/schroot-base/schroot-base-options.cc +++ b/bin/schroot-base/schroot-base-options.cc @@ -145,20 +145,20 @@ options::check_options () if (vm.count("debug")) { if (this->debug_level == "none") - sbuild::debug_level = sbuild::DEBUG_NONE; + sbuild::debug_log_level = sbuild::DEBUG_NONE; else if (this->debug_level == "notice") - sbuild::debug_level = sbuild::DEBUG_NOTICE; + sbuild::debug_log_level = sbuild::DEBUG_NOTICE; else if (this->debug_level == "info") - sbuild::debug_level = sbuild::DEBUG_INFO; + sbuild::debug_log_level = sbuild::DEBUG_INFO; else if (this->debug_level == "warning") - sbuild::debug_level = sbuild::DEBUG_WARNING; + sbuild::debug_log_level = sbuild::DEBUG_WARNING; else if (this->debug_level == "critical") - sbuild::debug_level = sbuild::DEBUG_CRITICAL; + sbuild::debug_log_level = sbuild::DEBUG_CRITICAL; else throw opt::validation_error(_("Invalid debug level")); } else - sbuild::debug_level = sbuild::DEBUG_NONE; + sbuild::debug_log_level = sbuild::DEBUG_NONE; } void |