From 4758bdc8a35c3604f8b6dd72b3d49e7bc5ff9b1e Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周日, 19 4月 2015 05:51:20 +0800 Subject: [PATCH] Add test for command tree traversal --- libscpi/src/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libscpi/src/utils.c b/libscpi/src/utils.c index 7c0e55f..fd9f9f3 100644 --- a/libscpi/src/utils.c +++ b/libscpi/src/utils.c @@ -111,7 +111,7 @@ * @return number of bytes written to str (without '\0') */ size_t doubleToStr(double val, char * str, size_t len) { - return snprintf(str, len, "%lg", val); + return SCPI_doubleToStr(val, str, len); } /** -- Gitblit v1.9.1