Fallout of c933d44f7b
This commit is contained in:
parent
f59af75bd8
commit
0b01a9bb4b
@ -118,7 +118,7 @@ fn backtrace(buf: *mut *mut libc::c_void,
|
||||
// local, it still displays much nicer backtraces when a
|
||||
// couple of tasks panic simultaneously
|
||||
static LOCK: StaticMutex = MUTEX_INIT;
|
||||
let _g = unsafe { LOCK.lock() };
|
||||
let _g = LOCK.lock();
|
||||
|
||||
try!(writeln!(w, "stack backtrace:"));
|
||||
// 100 lines should be enough
|
||||
|
Loading…
Reference in New Issue
Block a user