* bsd_helper.cc: Whitespace fixes.

* bsd_mutex.cc: Ditto.
This commit is contained in:
Corinna Vinschen
2004-07-20 16:06:14 +00:00
parent 325965583f
commit 96e949deaa
3 changed files with 20 additions and 15 deletions

View File

@ -49,17 +49,17 @@ mtx_owned (mtx *m)
}
void
_mtx_assert(mtx *m, int what, const char *file, int line)
_mtx_assert (mtx *m, int what, const char *file, int line)
{
switch (what)
{
case MA_OWNED:
if (!mtx_owned (m))
_panic(file, line, "Mutex %s not owned", m->name);
_panic (file, line, "Mutex %s not owned", m->name);
break;
case MA_NOTOWNED:
if (mtx_owned (m))
_panic(file, line, "Mutex %s is owned", m->name);
_panic (file, line, "Mutex %s is owned", m->name);
break;
default:
break;