diff options
Diffstat (limited to 'src/vcli.c')
-rw-r--r-- | src/vcli.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |