Write string constant differently to improve readability.
Reported by: rgrimes Reviewed by: rgrimes, emaste MFC after: 13 days Differential Revision: https://reviews.freebsd.org/D19829
This commit is contained in:
parent
3c8c50f955
commit
0e6eb62d96
@ -444,10 +444,8 @@ checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p,
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user