Fix alignment for table `optnames[]'
This commit is contained in:
parent
5f3c183b85
commit
0476f601b2
24
mount.c
24
mount.c
@ -14,18 +14,18 @@ struct {
|
|||||||
const char *notopt;
|
const char *notopt;
|
||||||
unsigned long v;
|
unsigned long v;
|
||||||
} optnames[] = {
|
} optnames[] = {
|
||||||
{ "remount", NULL, MS_REMOUNT },
|
{ "remount", NULL, MS_REMOUNT },
|
||||||
{ "ro", "rw", MS_RDONLY },
|
{ "ro", "rw", MS_RDONLY },
|
||||||
{ "sync", "async", MS_SYNCHRONOUS },
|
{ "sync", "async", MS_SYNCHRONOUS },
|
||||||
{ "dirsync", NULL, MS_DIRSYNC },
|
{ "dirsync", NULL, MS_DIRSYNC },
|
||||||
{ "nodev", "dev", MS_NODEV },
|
{ "nodev", "dev", MS_NODEV },
|
||||||
{ "noatime", "atime", MS_NOATIME },
|
{ "noatime", "atime", MS_NOATIME },
|
||||||
{ "nodiratime", "diratime", MS_NODIRATIME },
|
{ "nodiratime", "diratime", MS_NODIRATIME },
|
||||||
{ "noexec", "exec", MS_NOEXEC },
|
{ "noexec", "exec", MS_NOEXEC },
|
||||||
{ "nosuid", "suid", MS_NOSUID },
|
{ "nosuid", "suid", MS_NOSUID },
|
||||||
{ "mand", "nomand", MS_MANDLOCK },
|
{ "mand", "nomand", MS_MANDLOCK },
|
||||||
{ "relatime", "norelatime", MS_RELATIME },
|
{ "relatime", "norelatime", MS_RELATIME },
|
||||||
{ NULL, NULL, 0 }
|
{ NULL, NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct option {
|
static struct option {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user