Only show one decimal place if pool diff is not an integer.
diff --git a/util.c b/util.c
index 1cda5f0..8c50f09 100644
--- a/util.c
+++ b/util.c
@@ -1659,7 +1659,7 @@ static bool parse_diff(struct pool *pool, json_t *val)
applog(LOG_NOTICE, "Pool %d difficulty changed to %d",
pool->pool_no, idiff);
else
- applog(LOG_NOTICE, "Pool %d difficulty changed to %f",
+ applog(LOG_NOTICE, "Pool %d difficulty changed to %.1f",
pool->pool_no, diff);
} else
applog(LOG_DEBUG, "Pool %d difficulty set to %f", pool->pool_no,