summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-utils/xine_check.c')
-rw-r--r--src/xine-utils/xine_check.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c
index 7bbf645ff..43e046a45 100644
--- a/src/xine-utils/xine_check.c
+++ b/src/xine-utils/xine_check.c
@@ -81,7 +81,6 @@ set_hc_result(xine_health_check_t* hc, int state, const char *format, ...)
va_list args;
char *buf = NULL;
- int n, size;
if (!hc) {
printf ("xine_check: GASP, hc is NULL\n");
@@ -94,7 +93,7 @@ set_hc_result(xine_health_check_t* hc, int state, const char *format, ...)
}
va_start(args, format);
- asprintf (&buf, format, args);
+ vasprintf (&buf, format, args);
va_end(args);
if (!buf)