From: Adheer Chandravanshi <adheer.chandravan...@qlogic.com> This fixes the following compile time warning message:
iscsiadm.c:2248: warning: passing argument 1 of 'print_host_stats' from incompatible pointer type Signed-off-by: Adheer Chandravanshi <adheer.chandravan...@qlogic.com> --- usr/iscsiadm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c index 36617ab..389f4b8 100644 --- a/usr/iscsiadm.c +++ b/usr/iscsiadm.c @@ -2245,7 +2245,8 @@ static int exec_host_stats_op(int op, int info_level, uint32_t host_no) goto exit_host_stats; } - print_host_stats(req_buf + sizeof(struct iscsi_uevent)); + print_host_stats((struct iscsi_offload_host_stats *)(req_buf + + sizeof(struct iscsi_uevent))); ipc->ctldev_close(); -- 1.7.1 -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/groups/opt_out.