summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-12-05 11:36:16 +0000
committermidipix <writeonce@midipix.org>2020-12-05 11:45:47 +0000
commita6e4e724775eb19eb22673e68d48c6d88b0b6fbb (patch)
treef2a6416fe44f882d82f2c95249368612c7acb112 /src
parent373b6ba30990b3d063b864d60f56efce926cbe27 (diff)
downloadntapi-a6e4e724775eb19eb22673e68d48c6d88b0b6fbb.tar.bz2
ntapi-a6e4e724775eb19eb22673e68d48c6d88b0b6fbb.tar.xz
__ntapi_sem_ioctl(): adjust code formatting.
Diffstat (limited to 'src')
-rw-r--r--src/sem/ntapi_sem_ioctl.c5
1 files changed, 3 insertions, 2 deletions
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(