diff options
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) { |