aboutsummaryrefslogtreecommitdiff
path: root/src/vcli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcli.c')
-rw-r--r--src/vcli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcli.c b/src/vcli.c
index 736d9b3..c204cf3 100644
--- a/src/vcli.c
+++ b/src/vcli.c
@@ -439,7 +439,7 @@ vcli_connect(struct VSM_data *vd, struct vcli_conn *conn)
439 snmp_log(LOG_ERR, "no -T arg in shared memory\n"); 439 snmp_log(LOG_ERR, "no -T arg in shared memory\n");
440 return SNMP_ERR_GENERR; 440 return SNMP_ERR_GENERR;
441 } 441 }
442 DEBUGMSGTL(("varnish_mib:vcli", "-T '%s'\n", vt.b)); 442 DEBUGMSGTL(("varnish_mib:vcli", "-T '%s'\n", (char*) vt.b));
443 443
444 s = strdup(vt.b); 444 s = strdup(vt.b);
445 if (!s) { 445 if (!s) {
@@ -489,7 +489,7 @@ vcli_connect(struct VSM_data *vd, struct vcli_conn *conn)
489 snmp_log(LOG_ERR, "no -S arg in shared memory\n"); 489 snmp_log(LOG_ERR, "no -S arg in shared memory\n");
490 return SNMP_ERR_GENERR; 490 return SNMP_ERR_GENERR;
491 } 491 }
492 DEBUGMSGTL(("varnish_mib:vcli", "-S '%s'\n", vt.b)); 492 DEBUGMSGTL(("varnish_mib:vcli", "-S '%s'\n", (char*) vt.b));
493 s = strdup(vt.b); 493 s = strdup(vt.b);
494 if (!s) { 494 if (!s) {
495 snmp_log(LOG_ERR, "out of memory\n"); 495 snmp_log(LOG_ERR, "out of memory\n");

Return to:

Send suggestions and report system problems to the System administrator.