X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/3bbce140c762cb8f3aaf9526e835aaa72cdec632..61856fb5422e392a34106b1c698cf5d67a9647b4:/main.cpp?ds=sidebyside diff --git a/main.cpp b/main.cpp index ccd11bd..4e8864c 100644 --- a/main.cpp +++ b/main.cpp @@ -65,7 +65,7 @@ static void check_for_lost_load() double lost_ratio = 100.0 * lost / total_init; if (lost_ratio < -opt::load_ratio_threshold) CRITICAL2("Gained load at exit! %g (%g%%) <============", - lost, lost_ratio); + -lost, -lost_ratio); else if (lost_ratio > opt::load_ratio_threshold) CRITICAL2("Lost load at exit! %g (%g%%) <============", lost, lost_ratio);