recovery.cpp: fix build err