X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fiscsi%2Fdiscovery.c;h=7b2ad2315264ef43ef4caa6efb11ca6e4d43d438;hp=2f2952f50455783acf701d08d274449b70cdb52b;hb=d0842865ca94a1bf4f7cdad329a2a0fc5d01b53a;hpb=39dc9e4612339af669e934c47500605f826a2bb4 diff --git a/ccan/iscsi/discovery.c b/ccan/iscsi/discovery.c index 2f2952f5..7b2ad231 100644 --- a/ccan/iscsi/discovery.c +++ b/ccan/iscsi/discovery.c @@ -26,7 +26,7 @@ int iscsi_discovery_async(struct iscsi_context *iscsi, iscsi_command_cb cb, void *private_data) { struct iscsi_pdu *pdu; - char *str; + const char *str; if (iscsi == NULL) { printf("trying to send text on NULL context\n");