From a6e4e724775eb19eb22673e68d48c6d88b0b6fbb Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Dec 2020 11:36:16 +0000 Subject: __ntapi_sem_ioctl(): adjust code formatting. --- src/sem/ntapi_sem_ioctl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sem') diff --git a/src/sem/ntapi_sem_ioctl.c b/src/sem/ntapi_sem_ioctl.c index ddac294..db715d3 100644 --- a/src/sem/ntapi_sem_ioctl.c +++ b/src/sem/ntapi_sem_ioctl.c @@ -76,11 +76,12 @@ int32_t __stdcall __ntapi_sem_ioctl( } else if ((status = __ntapi->ipc_init_section_by_port( sem->hport,&hsection, - &secaddr,&secsize))) + &secaddr,&secsize))) { return status; - else + } else { mapaddr = secaddr; + } if (input_buffer_length > secsize) return __sem_ioctl_return( -- cgit v1.2.3