git: e3e7512e715c - stable/13 - thr_mutex.c: style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Jul 2023 01:26:26 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=e3e7512e715c8ff13e1f19008ac9443c1b578db2
commit e3e7512e715c8ff13e1f19008ac9443c1b578db2
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-07-22 17:59:26 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-07-28 01:14:01 +0000
thr_mutex.c: style
(cherry picked from commit 0a5c29a6ee0a4c2732977d6d832e7193dbddaf26)
---
lib/libthr/thread/thr_mutex.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c
index 40e0b7382f95..8d64d26c12ab 100644
--- a/lib/libthr/thread/thr_mutex.c
+++ b/lib/libthr/thread/thr_mutex.c
@@ -291,8 +291,8 @@ mutex_init(pthread_mutex_t *mutex,
if (error != 0)
return (error);
}
- if ((pmutex = (pthread_mutex_t)
- calloc_cb(1, sizeof(struct pthread_mutex))) == NULL)
+ if ((pmutex = (pthread_mutex_t)calloc_cb(1,
+ sizeof(struct pthread_mutex))) == NULL)
return (ENOMEM);
mutex_init_body(pmutex, attr);
*mutex = pmutex;