summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/chgrp.c2
-rw-r--r--coreutils/df.c2
-rw-r--r--coreutils/od.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index f5e5d29..ac3e81a 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -47,7 +47,7 @@ static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
int chgrp_main(int argc, char **argv)
{
long gid;
- int recursiveFlag;;
+ int recursiveFlag;
int retval = EXIT_SUCCESS;
char *p;
diff --git a/coreutils/df.c b/coreutils/df.c
index 7d007a0..cbe3169 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -59,7 +59,7 @@ extern int df_main(int argc, char **argv)
FILE *mount_table;
struct mntent *mount_entry;
struct statfs s;
- static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */;
+ static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */
const char *disp_units_hdr = hdr_1k;
while ((opt = getopt(argc, argv, "k"
diff --git a/coreutils/od.c b/coreutils/od.c
index 5eaaf50..b18c53c 100644
--- a/coreutils/od.c
+++ b/coreutils/od.c
@@ -167,10 +167,10 @@ static const signed char od_o2si[] = {
int od_main(int argc, char **argv)
{
int ch;
- bb_dump_vflag = FIRST;
- bb_dump_length = -1;
int first = 1;
signed char *p;
+ bb_dump_vflag = FIRST;
+ bb_dump_length = -1;
while ((ch = getopt(argc, argv, od_opts)) > 0) {
if (((p = strchr(od_opts, ch)) != NULL) && (*p >= 0)) {