mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 18:48:46 +00:00
(!1688) os: directly set console verbosity level, instead of using LogSetParameter()
No need for extra call to some demuxer function for nothing but setting a simple int variable. Setting verbosity level really is nothing more than just writing some value into a variable, so it's trivial to just to do that, instead of having an unncessarily complex "universal setter" for that. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -150,7 +150,7 @@ number_formatting(void)
|
||||
-0x7FFFFFFFFFFFFFFF, /* Maximum 64-bit signed number */
|
||||
} ;
|
||||
|
||||
LogSetParameter(XLOG_VERBOSITY, -1);
|
||||
xorgLogVerbosity = -1;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(unsigned_tests); i++)
|
||||
assert(check_number_format_test(unsigned_tests[i]));
|
||||
@@ -182,7 +182,7 @@ static void logging_format(void)
|
||||
uintptr_t ptr;
|
||||
char *fname = NULL;
|
||||
|
||||
LogSetParameter(XLOG_VERBOSITY, -1);
|
||||
xorgLogVerbosity = -1;
|
||||
|
||||
/* set up buf to contain ".....end" */
|
||||
memset(buf, '.', sizeof(buf));
|
||||
|
||||
Reference in New Issue
Block a user