diff --git a/src/util/system.cpp b/src/util/system.cpp index 7f2e9a3114..3ef8111b32 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -1290,7 +1290,7 @@ fs::path AbsPathForConfigVal(const fs::path& path, bool net_specific) int ScheduleBatchPriority() { #ifdef SCHED_BATCH - const static sched_param param{0}; + const static sched_param param{}; if (int ret = pthread_setschedparam(pthread_self(), SCHED_BATCH, ¶m)) { LogPrintf("Failed to pthread_setschedparam: %s\n", strerror(errno)); return ret;