diff options
author | midipix <writeonce@midipix.org> | 2020-12-05 11:44:28 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-12-05 11:45:47 +0000 |
commit | 3878c0269822e1a1a828a2847a6b84ab6857eb1b (patch) | |
tree | e7a0b7e6dd70f6a9daa3afc52c50754932c03d46 /src/sem | |
parent | 37da58077db42d7f6c66e53b9ba0dfbe437c7e8a (diff) | |
download | ntapi-3878c0269822e1a1a828a2847a6b84ab6857eb1b.tar.bz2 ntapi-3878c0269822e1a1a828a2847a6b84ab6857eb1b.tar.xz |
__ntapi_sem_set(): adjust code formatting.
Diffstat (limited to 'src/sem')
-rw-r--r-- | src/sem/ntapi_sem_set.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sem/ntapi_sem_set.c b/src/sem/ntapi_sem_set.c index c7833fc..fac65e3 100644 --- a/src/sem/ntapi_sem_set.c +++ b/src/sem/ntapi_sem_set.c @@ -77,11 +77,12 @@ int32_t __stdcall __ntapi_sem_set( } else if ((status = __ntapi->ipc_init_section_by_port( sem->hport,&hsection, - &secaddr,&secsize))) + &secaddr,&secsize))) { return status; - else + } else { mapaddr = secaddr; + } /* data size */ if (secsize < sem_info_length) |