diff --git a/src/constraint-set.cc b/src/constraint-set.cc
index 70d7a791ec675f460f05486558e573ae3b1bb742..46f96c798c92aa0734d981e46e47df6f9c027f51 100644
--- a/src/constraint-set.cc
+++ b/src/constraint-set.cc
@@ -72,7 +72,7 @@ namespace hpp {
     std::ostream& ConstraintSet::print (std::ostream& os) const
     {
       Parent_t::print (os);
-      if (edge_) os << "Built by edge " << edge_->name() << std::endl;
+      if (edge_) os << iendl << "Built by edge " << edge_->name();
       return os;
     }
   } // namespace manipulation