aboutsummaryrefslogtreecommitdiffstats
path: root/init/log.c
diff options
context:
space:
mode:
authorturret <turret@duck.com>2024-01-14 21:19:06 -0600
committerturret <turret@duck.com>2024-01-14 21:19:06 -0600
commit5e46528be9b1f0efcb4b3abf2033d6a37432f248 (patch)
tree09c38a5fb27b1e1f22fa83e30fb0339e7cd1ad7b /init/log.c
parentb93f0d9b2ae44ab75d469adf72783030a636b2ea (diff)
downloaddiscord-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/log.c b/init/log.c
index 84ab7a1..f39467c 100644
--- a/init/log.c
+++ b/init/log.c
@@ -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;