mirror of
https://github.com/RGBCube/serenity
synced 2025-07-03 00:42:14 +00:00
Kernel: Don't take debug logging lock in sprintf()
This function doesn't write to the log, and so doesn't need to acquire the logging lock. (This is only used by GCC's name demangling thingy.)
This commit is contained in:
parent
4d9ce42532
commit
efd4f66f36
1 changed files with 0 additions and 1 deletions
|
@ -105,7 +105,6 @@ extern "C" int sprintf(char* buffer, const char* fmt, ...);
|
|||
|
||||
int sprintf(char* buffer, const char* fmt, ...)
|
||||
{
|
||||
ScopedSpinLock lock(s_log_lock);
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
int ret = printf_internal(buffer_putch, buffer, fmt, ap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue