diff options
author | pixel <pixel> | 2002-12-10 20:18:04 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-10 20:18:04 +0000 |
commit | d5ff9795dab4aba0aa0e2fa8d62e3cc4808acb5e (patch) | |
tree | d69945ecacde43d1423efb5c3e22922a6739b348 /lib | |
parent | 20c9dd53afe35ee56ca0e0ef96a773eceb373b24 (diff) |
Brain in the fridge
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Main.cc | 4 | ||||
-rw-r--r-- | lib/generic.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Main.cc b/lib/Main.cc index 774cf08..64cdc7d 100644 --- a/lib/Main.cc +++ b/lib/Main.cc @@ -31,12 +31,12 @@ int main(int argc, char ** argv, char ** enve) { r = e.GetCode(); } catch (GeneralException e) { - printm(M_ERROR, "The application caused an exception: %s\n", e.GetMsg()); + Base::printm(M_ERROR, "The application caused an exception: %s\n", e.GetMsg()); delete Application; exit(-1); } catch (...) { - printm(M_ERROR, "The application caused an unknow exception\n"); + Base::printm(M_ERROR, "The application caused an unknow exception\n"); delete Application; exit(-1); } diff --git a/lib/generic.cc b/lib/generic.cc index bade101..357779f 100644 --- a/lib/generic.cc +++ b/lib/generic.cc @@ -26,7 +26,7 @@ char verbosity = 0; char * heads[] = {"EE", "--", "WW", "II"}; -void printm(int level, String m, ...) { +void Base::printm(int level, String m, ...) { va_list ap; if (verbosity < level) { |