minor fix in dirs.c f_init()