If OFFLOAD_BOOT_SUPPORT is defined, usr/iface.c gets a compile error,
fixed by this patch.

Signed-off-by: Lee Duncan <leeman.dun...@gmail.com>
-- 
diff --git a/usr/iface.c b/usr/iface.c
index 3a9582e..b7e9760 100644
--- a/usr/iface.c
+++ b/usr/iface.c
@@ -896,6 +896,9 @@ int iface_setup_from_boot_context(struct iface_rec *iface,
        struct iscsi_transport *t = NULL;
        char transport_name[ISCSI_TRANSPORT_NAME_MAXLEN];
        uint32_t hostno;
+#ifdef OFFLOAD_BOOT_SUPPORTED
+       int rc;
+#endif

        if (strlen(context->initiatorname))
                strlcpy(iface->iname, context->initiatorname,

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to