Author: mav
Date: Mon Aug  5 19:30:28 2019
New Revision: 350609
URL: https://svnweb.freebsd.org/changeset/base/350609

Log:
  Fix alignment issue r350599.
  
  MFC after:    10 days

Modified:
  head/sbin/nvmecontrol/resv.c

Modified: head/sbin/nvmecontrol/resv.c
==============================================================================
--- head/sbin/nvmecontrol/resv.c        Mon Aug  5 19:19:25 2019        
(r350608)
+++ head/sbin/nvmecontrol/resv.c        Mon Aug  5 19:30:28 2019        
(r350609)
@@ -351,7 +351,7 @@ resvreport(const struct cmd *f, int argc, char *argv[]
        struct nvme_pt_command  pt;
        struct nvme_resv_status *s;
        struct nvme_resv_status_ext *e;
-       uint8_t         data[4096];
+       uint8_t         data[4096] __aligned(4);
        int             fd;
        u_int           i, n;
        uint32_t        nsid;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to