31 Mar
2022
31 Mar
'22
2:29 a.m.
On Mon, Mar 28, 2022 at 10:37:45AM +0100, Huw Davies wrote:
+static NTSTATUS get_endpoint_ids(void *args) +{ + struct get_endpoint_ids_params *params = args; + oss_sysinfo sysinfo; + static int print_once = 0; + static const WCHAR outW[] = {'O','u','t',':',' ',0}; + static const WCHAR inW[] = {'I','n',':',' ',0}; + struct endpoint_info + { + WCHAR name[OSS_DEVNAME_SIZE + ARRAY_SIZE(outW)]; + char device[OSS_DEVNODE_SIZE];
Andrew pointed out that FreeBSD doesn't provide OSS_DEVNAME_SIZE (the header there appears to be OSSv3). I've sent in v2 of this series which avoids that - this is the only patch that's changed (other than a rebase to upstream's head). Huw.