summaryrefslogtreecommitdiffstats
path: root/src/io/ftos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/ftos.cpp')
-rw-r--r--src/io/ftos.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/ftos.cpp b/src/io/ftos.cpp
index b8d161ca4..658c768e8 100644
--- a/src/io/ftos.cpp
+++ b/src/io/ftos.cpp
@@ -343,7 +343,7 @@ string ftos(double val, char mode, int sigfig, int precision, int options)
if (rhs<0) rhs = 0;
#ifdef DEBUG
- fprintf(stderr, "*** rhs is", itos(rhs).c_str());
+ fprintf(stderr, "*** rhs is %s\n", itos(rhs).c_str());
#endif
// Determine the exponent
@@ -411,7 +411,7 @@ string ftos(double val, char mode, int sigfig, int precision, int options)
}
#ifdef DEBUG
- fprintf(stderr, "*** End of ftos with ascii = ", ascii.c_str());
+ fprintf(stderr, "*** End of ftos with ascii = %s\n", ascii.c_str());
#endif
/* finally, we can return */
g_free(p);