summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dos2unix.c2
-rw-r--r--coreutils/expand.c2
-rw-r--r--coreutils/ln.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c
index 115632f..00688aa 100644
--- a/coreutils/dos2unix.c
+++ b/coreutils/dos2unix.c
@@ -89,7 +89,7 @@ int dos2unix_main(int argc, char **argv)
} else {
conv_type = CT_UNIX2DOS; /* 1 */
}
-
+
/* -u convert to unix, -d convert to dos */
opt_complementary = "u--d:d--u"; /* mutally exclusive */
o = getopt32(argc, argv, "du");
diff --git a/coreutils/expand.c b/coreutils/expand.c
index 30815ff..4b5fa10 100644
--- a/coreutils/expand.c
+++ b/coreutils/expand.c
@@ -196,7 +196,7 @@ int expand_main(int argc, char **argv)
exit_status = EXIT_FAILURE;
}
/* If stdin also clear EOF */
- if (file == stdin)
+ if (file == stdin)
clearerr(file);
} while (*++argv);
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 93a283d..cffd4fd 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -54,7 +54,8 @@ int ln_main(int argc, char **argv)
if (is_directory(src,
(flag & LN_NODEREFERENCE) ^ LN_NODEREFERENCE,
- NULL)) {
+ NULL)
+ ) {
src_name = xstrdup(*argv);
src = concat_path_file(src, bb_get_last_path_component(src_name));
free(src_name);