diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.c b/lib/output.c index f283969f..62e1366d 100644 --- a/lib/output.c +++ b/lib/output.c | |||
| @@ -42,7 +42,7 @@ static inline char *fmt_subcheck_perfdata(mp_subcheck check) { | |||
| 42 | 42 | ||
| 43 | while (subchecks != NULL) { | 43 | while (subchecks != NULL) { |
| 44 | if (added > 0) { | 44 | if (added > 0) { |
| 45 | added = asprintf(&result, "%s%s", result, fmt_subcheck_perfdata(subchecks->subcheck)); | 45 | added = asprintf(&result, "%s %s", result, fmt_subcheck_perfdata(subchecks->subcheck)); |
| 46 | } else { | 46 | } else { |
| 47 | // TODO free previous result here? | 47 | // TODO free previous result here? |
| 48 | added = asprintf(&result, "%s", fmt_subcheck_perfdata(subchecks->subcheck)); | 48 | added = asprintf(&result, "%s", fmt_subcheck_perfdata(subchecks->subcheck)); |
