diff options
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r-- | coreutils/stat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c index 7c72127c5..0fddea2bb 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #define OPT_DEREFERENCE (1<<2) | 21 | #define OPT_DEREFERENCE (1<<2) |
22 | #define OPT_SELINUX (1<<3) | 22 | #define OPT_SELINUX (1<<3) |
23 | 23 | ||
24 | static char buf[sizeof("YYYY-MM-DD HH:MM:SS.000000000")]; | 24 | static char buf[sizeof("YYYY-MM-DD HH:MM:SS.000000000")] ALIGN1; |
25 | 25 | ||
26 | static char const * file_type(struct stat const *st) | 26 | static char const * file_type(struct stat const *st) |
27 | { | 27 | { |
@@ -70,7 +70,7 @@ static char const *human_fstype(long f_type) | |||
70 | int i; | 70 | int i; |
71 | static const struct types { | 71 | static const struct types { |
72 | long type; | 72 | long type; |
73 | const char * const fs; | 73 | const char *const fs; |
74 | } humantypes[] = { | 74 | } humantypes[] = { |
75 | { 0xADFF, "affs" }, | 75 | { 0xADFF, "affs" }, |
76 | { 0x1Cd1, "devpts" }, | 76 | { 0x1Cd1, "devpts" }, |
@@ -118,7 +118,7 @@ static char const *human_fstype(long f_type) | |||
118 | #if ENABLE_FEATURE_STAT_FORMAT | 118 | #if ENABLE_FEATURE_STAT_FORMAT |
119 | /* print statfs info */ | 119 | /* print statfs info */ |
120 | static void print_statfs(char *pformat, const size_t buf_len, const char m, | 120 | static void print_statfs(char *pformat, const size_t buf_len, const char m, |
121 | const char * const filename, void const *data | 121 | const char *const filename, void const *data |
122 | USE_SELINUX(, security_context_t scontext)) | 122 | USE_SELINUX(, security_context_t scontext)) |
123 | { | 123 | { |
124 | struct statfs const *statfsbuf = data; | 124 | struct statfs const *statfsbuf = data; |
@@ -168,7 +168,7 @@ static void print_statfs(char *pformat, const size_t buf_len, const char m, | |||
168 | 168 | ||
169 | /* print stat info */ | 169 | /* print stat info */ |
170 | static void print_stat(char *pformat, const size_t buf_len, const char m, | 170 | static void print_stat(char *pformat, const size_t buf_len, const char m, |
171 | const char * const filename, void const *data | 171 | const char *const filename, void const *data |
172 | USE_SELINUX(, security_context_t scontext)) | 172 | USE_SELINUX(, security_context_t scontext)) |
173 | { | 173 | { |
174 | #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) | 174 | #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) |