fix somme inits

This commit is contained in:
Jacek Jendrzej
2020-01-17 22:35:08 +01:00
parent 3cd712967f
commit 29ae868ae6
4 changed files with 7 additions and 4 deletions

View File

@@ -593,9 +593,9 @@ void *tuxtxt_CacheThread(void * /*arg*/)
tstPageinfo *pageinfo_thread;
set_threadname("tuxtxt:cache");
printf("TuxTxt running thread...(%04x)\n",tuxtxt_cache.vtxtpid);
int err = nice(3);
printf("TuxTxt running thread...(%04x)%s\n",tuxtxt_cache.vtxtpid,err!=0?" nice error":"");
tuxtxt_cache.receiving = 1;
nice(3);
while (!stop_cache)
{
/* check stopsignal */