Index: fp_fs.c =================================================================== --- fp_fs.c (revision 25449) +++ fp_fs.c (revision 25450) @@ -144,6 +144,7 @@ l = strlen(new_subdir); memcpy(fn, new_subdir, l); fn[l] = PCB_DIR_SEPARATOR_C; + fn[l+1] = '\0'; fn_end = fn + l + 1; /* First try opening the directory specified by path */