Index: head/sbin/fsck_msdosfs/dir.c =================================================================== --- head/sbin/fsck_msdosfs/dir.c +++ head/sbin/fsck_msdosfs/dir.c @@ -444,10 +444,8 @@ return FSOK; } -static const u_char dot_name[] = { - '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; -static const u_char dotdot_name[] = { - '.', '.',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; +static const u_char dot_name[11] = ". "; +static const u_char dotdot_name[11] = ".. "; /* * Basic sanity check if the subdirectory have good '.' and '..' entries,