From f1a3e05d8c26328f345d29afb705dc828b631bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 11 Dec 2012 23:21:45 +0100 Subject: [PATCH] style fix as suggested by axeld and jscipione. --- src/system/libroot/posix/semaphore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/libroot/posix/semaphore.cpp b/src/system/libroot/posix/semaphore.cpp index fb57ced9c3..33cb768443 100644 --- a/src/system/libroot/posix/semaphore.cpp +++ b/src/system/libroot/posix/semaphore.cpp @@ -112,8 +112,8 @@ sem_post(sem_t* semaphore) int sem_timedwait(sem_t* semaphore, const struct timespec* timeout) { - if (timeout != NULL && (timeout->tv_nsec < 0 || - timeout->tv_nsec >= 1000000000)) { + if (timeout != NULL + && (timeout->tv_nsec < 0 || timeout->tv_nsec >= 1000000000)) { status_t err = _kern_realtime_sem_wait(semaphore->id, 0); if (err == B_WOULD_BLOCK) err = EINVAL;