diff options
author | turret <turret@duck.com> | 2024-01-14 21:19:06 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2024-01-14 21:19:06 -0600 |
commit | 5e46528be9b1f0efcb4b3abf2033d6a37432f248 (patch) | |
tree | 09c38a5fb27b1e1f22fa83e30fb0339e7cd1ad7b /init/log.c | |
parent | b93f0d9b2ae44ab75d469adf72783030a636b2ea (diff) | |
download | discord-bot-skeleton-5e46528be9b1f0efcb4b3abf2033d6a37432f248.tar.gz discord-bot-skeleton-5e46528be9b1f0efcb4b3abf2033d6a37432f248.tar.bz2 discord-bot-skeleton-5e46528be9b1f0efcb4b3abf2033d6a37432f248.zip |
misc: change RSL 2 -> 1
design choice since 1 << n == pow(2,n)
Diffstat (limited to 'init/log.c')
-rw-r--r-- | init/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ static const char *mode_to_string[] = { static int console_lock = 0; -#define MAX_TRY_COUNT 2 << 16 +#define MAX_TRY_COUNT 1 << 17 static void obtain_console_lock(void) { int try_count = 0; |