diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/install.c | 3 | ||||
-rw-r--r-- | coreutils/tail.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/coreutils/install.c b/coreutils/install.c index c80be01ff..ece5b955b 100644 --- a/coreutils/install.c +++ b/coreutils/install.c | |||
@@ -35,7 +35,8 @@ static const struct option install_long_options[] = { | |||
35 | #if ENABLE_SELINUX | 35 | #if ENABLE_SELINUX |
36 | static bool use_default_selinux_context = 1; | 36 | static bool use_default_selinux_context = 1; |
37 | 37 | ||
38 | static void setdefaultfilecon(const char *path) { | 38 | static void setdefaultfilecon(const char *path) |
39 | { | ||
39 | struct stat s; | 40 | struct stat s; |
40 | security_context_t scontext = NULL; | 41 | security_context_t scontext = NULL; |
41 | 42 | ||
diff --git a/coreutils/tail.c b/coreutils/tail.c index 67396ab1c..629ee2125 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
@@ -65,7 +65,8 @@ static ssize_t tail_read(int fd, char *buf, size_t count) | |||
65 | 65 | ||
66 | static const char header_fmt[] = "\n==> %s <==\n"; | 66 | static const char header_fmt[] = "\n==> %s <==\n"; |
67 | 67 | ||
68 | static unsigned eat_num(const char *p) { | 68 | static unsigned eat_num(const char *p) |
69 | { | ||
69 | if (*p == '-') p++; | 70 | if (*p == '-') p++; |
70 | else if (*p == '+') { p++; G.status = EXIT_FAILURE; } | 71 | else if (*p == '+') { p++; G.status = EXIT_FAILURE; } |
71 | return xatou_sfx(p, tail_suffixes); | 72 | return xatou_sfx(p, tail_suffixes); |