More consistent, doesn't rely on __packed being defined in userspace.

Signed-off-by: Khazhismel Kumykov <[email protected]>
---
 include/iscsi_if.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/iscsi_if.h b/include/iscsi_if.h
index 9d15811..5be1981 100644
--- a/include/iscsi_if.h
+++ b/include/iscsi_if.h
@@ -341,7 +341,7 @@ struct iscsi_iface_param_info {
        uint8_t iface_type;     /* IPv4 or IPv6 */
        uint8_t param_type;     /* iscsi_param_type */
        uint8_t value[0];       /* length sized value follows */
-} __packed;
+} __attribute__((__packed__));
 
 /*
  * To keep the struct iscsi_uevent size the same for userspace code
-- 
2.14.1.581.gf28d330327-goog

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to