summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 7d769364..6731992d 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -371,7 +371,7 @@ namespace {
throw_(amount_error, "A commodity's price may not be negative");
std::ostringstream name;
- comm.write(name);
+ comm.print(name);
annotated_commodity_t::write_annotations(name, details);
DEBUG("amounts.commodities", "make_qualified_name for "