diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2023-07-22 17:59:26 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2023-07-26 14:24:51 +0000 |
commit | 0a5c29a6ee0a4c2732977d6d832e7193dbddaf26 (patch) | |
tree | ce0bb63eb5c4dd0834c4ddbbd639b2aed52be3f3 | |
parent | 86c7368f2bcefeb257f7dc40e4296261b295a674 (diff) | |
download | src-0a5c29a6ee0a4c2732977d6d832e7193dbddaf26.tar.gz src-0a5c29a6ee0a4c2732977d6d832e7193dbddaf26.zip |
thr_mutex.c: style
Reindend and re-fill the statement.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D41150
-rw-r--r-- | lib/libthr/thread/thr_mutex.c | 4 |
1 files 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; |