diff options
Diffstat (limited to 'src/vcli.c')
-rw-r--r-- | src/vcli.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -436,13 +436,13 @@ vcli_connect(struct VSM_data *vd, struct vcli_conn *conn) memset(conn, 0, sizeof(*conn)); if (!VSM_Get(vd, &vt, "Arg", "-T", "")) { snmp_log(LOG_ERR, "no -T arg in shared memory\n"); return SNMP_ERR_GENERR; } - DEBUGMSGTL(("varnish_mib:vcli", "-T '%s'\n", vt.b)); + DEBUGMSGTL(("varnish_mib:vcli", "-T '%s'\n", (char*) vt.b)); s = strdup(vt.b); if (!s) { snmp_log(LOG_ERR, "out of memory\n"); return SNMP_ERR_GENERR; } @@ -486,13 +486,13 @@ vcli_connect(struct VSM_data *vd, struct vcli_conn *conn) return SNMP_ERR_GENERR; if (!VSM_Get(vd, &vt, "Arg", "-S", "")) { snmp_log(LOG_ERR, "no -S arg in shared memory\n"); return SNMP_ERR_GENERR; } - DEBUGMSGTL(("varnish_mib:vcli", "-S '%s'\n", vt.b)); + DEBUGMSGTL(("varnish_mib:vcli", "-S '%s'\n", (char*) vt.b)); s = strdup(vt.b); if (!s) { snmp_log(LOG_ERR, "out of memory\n"); return SNMP_ERR_GENERR; } conn->secret = s; |