Changeset 0963419 in rtems-libbsd


Ignore:
Timestamp:
Aug 24, 2018, 7:06:14 AM (9 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
a87e0f4f5c4795f77dc3956c7d1543f90f7d7710, 16fa6a4651faaa77ef72c7e03d285c143d6e54fa
Children:
f62c62d
Parents:
12a885c
git-author:
Sebastian Huber <sebastian.huber@…> (08/24/18 07:06:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/24/18 07:06:31)
Message:

Fix alignment of getsockaddr_sockaddr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/uipc_syscalls.c

    r12a885c r0963419  
    9292        struct sockaddr header;
    9393        char            data[SOCK_MAXADDRLEN - sizeof(struct sockaddr)];
    94 };
     94} __aligned(sizeof(long));
    9595
    9696static int getsockaddr(struct sockaddr **namp, caddr_t uaddr, size_t len);
Note: See TracChangeset for help on using the changeset viewer.