fix parameters to kore_log().

This commit is contained in:
Joris Vink 2017-02-06 11:39:50 +01:00
parent 76cb532de9
commit c3d2984939
1 changed files with 2 additions and 1 deletions

View File

@ -321,7 +321,8 @@ websocket_recv_frame(struct netbuf *nb)
break;
case WEBSOCKET_OP_CONT:
ret = KORE_RESULT_ERROR;
kore_log(LOG_ERR, "%p: we do not support op 0x%02x yet", c, op);
kore_log(LOG_ERR,
"%p: we do not support op 0x%02x yet", (void *)c, op);
break;
case WEBSOCKET_OP_TEXT:
case WEBSOCKET_OP_BINARY: