From 03905d3412f2a4f915f4a1a1564b87ef7adff11a Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 3 Oct 2011 14:15:23 +0200 Subject: [PATCH] Improve error message. --- options.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.5