Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 14:30:16 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0a5c29a6ee0a - main - thr_mutex.c: style
Message-ID:  <202307261430.36QEUGnb029065@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=0a5c29a6ee0a4c2732977d6d832e7193dbddaf26

commit 0a5c29a6ee0a4c2732977d6d832e7193dbddaf26
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-07-22 17:59:26 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-07-26 14:24:51 +0000

    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
---
 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307261430.36QEUGnb029065>