fix warning in findname.c