From: Arnaud Giersch Date: Mon, 3 Oct 2011 12:15:23 +0000 (+0200) Subject: Improve error message. X-Git-Tag: exp_20120216~27 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/03905d3412f2a4f915f4a1a1564b87ef7adff11a?ds=inline Improve error message. --- diff --git a/options.cpp b/options.cpp index c5f5c29..b440f7c 100644 --- a/options.cpp +++ b/options.cpp @@ -367,7 +367,9 @@ bool opt::parse_args(int* argc, char* argv[]) if (opt::max_transfer_amount && opt::max_transfer_amount < opt::min_transfer_amount) { - XBT_ERROR("max. data transfer amount < min. data transfer amount"); + XBT_ERROR("max. data transfer amount (%g) <" + " min. data transfer amount (%g)", + opt::max_transfer_amount, opt::min_transfer_amount); result = false; }