Missing closing zero in api string
diff --git a/driver-knc.c b/driver-knc.c
index f98a60f..b100151 100644
--- a/driver-knc.c
+++ b/driver-knc.c
@@ -560,6 +560,7 @@ static struct api_data *knc_api_stats(struct cgpu_info *cgpu)
errors += die->core[core].errors;
completed += die->core[core].completed;
}
+ coremap[die->cores] = '\0';
knc_api_die_string("coremap", coremap);
knc_api_die_int("errors", errors);
knc_api_die_int("shares", shares);