[patch] btt: fix uninitialized err_lock