MSDOS_MKMODE() code style update
This commit is contained in:
parent
f3da9d8b35
commit
87bd90afb8
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "setdate.h"
|
#include "setdate.h"
|
||||||
|
|
||||||
#define MSDOS_MKMODE(a,m) ((m & (a & ATTR_RO ? LINUX_S_IRUGO|LINUX_S_IXUGO : LINUX_S_IRWXUGO)) | (a & ATTR_DIR ? LINUX_S_IFDIR : LINUX_S_IFREG))
|
#define MSDOS_MKMODE(a,m) ((m & ((a & ATTR_RO) ? LINUX_S_IRUGO|LINUX_S_IXUGO : LINUX_S_IRWXUGO)) | ((a & ATTR_DIR) ? LINUX_S_IFDIR : LINUX_S_IFREG))
|
||||||
struct fat_dir_struct
|
struct fat_dir_struct
|
||||||
{
|
{
|
||||||
struct fat_boot_sector*boot_sector;
|
struct fat_boot_sector*boot_sector;
|
||||||
|
|
Loading…
Reference in a new issue