syscalls: fix type of osendmsg

osendmsg takes an struct omsghdr * not a void *.

Reviewed by:	kevans
This commit is contained in:
Brooks Davis 2021-11-17 20:12:22 +00:00
parent 2385f4d172
commit f503288262
2 changed files with 2 additions and 2 deletions

View file

@ -728,7 +728,7 @@
114 AUE_SENDMSG COMPAT|CAPENABLED {
int sendmsg(
int s,
_In_ const void *msg,
_In_ const struct omsghdr *msg,
int flags
);
}

View file

@ -2353,7 +2353,7 @@ struct orecvmsg_args {
};
struct osendmsg_args {
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
char msg_l_[PADL_(const void *)]; const void * msg; char msg_r_[PADR_(const void *)];
char msg_l_[PADL_(const struct omsghdr *)]; const struct omsghdr * msg; char msg_r_[PADR_(const struct omsghdr *)];
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
};
struct otruncate_args {