mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
syscalls: fix type of osendmsg
osendmsg takes an struct omsghdr * not a void *. Reviewed by: kevans
This commit is contained in:
parent
2385f4d172
commit
f503288262
2 changed files with 2 additions and 2 deletions
|
|
@ -728,7 +728,7 @@
|
|||
114 AUE_SENDMSG COMPAT|CAPENABLED {
|
||||
int sendmsg(
|
||||
int s,
|
||||
_In_ const void *msg,
|
||||
_In_ const struct omsghdr *msg,
|
||||
int flags
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue