summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-13 21:06:21 +0000
committerDenis Vlasenko2007-01-13 21:06:21 +0000
commit150f402b36197d822f8a7dd835231cd67b77e959 (patch)
treeddac0e3876f058e0070dc497902994583517f879 /coreutils
parent2418288cac34272d99dc8b9f46a74163eff5ea2c (diff)
downloadbusybox-150f402b36197d822f8a7dd835231cd67b77e959.zip
busybox-150f402b36197d822f8a7dd835231cd67b77e959.tar.gz
whitespace fixes (leading spaces to tab)
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chown.c2
-rw-r--r--coreutils/install.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c
index da6b6ab..09cf73f 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -72,7 +72,7 @@ int chown_main(int argc, char **argv)
*groupName = ':'; /* replace '.' with ':' */
/* First, try parsing "user[:[group]]" */
- if (!groupName) { /* "user" */
+ if (!groupName) { /* "user" */
ugid.uid = get_ug_id(*argv, xuname2uid);
} else if (groupName == *argv) { /* ":group" */
ugid.gid = get_ug_id(groupName + 1, xgroup2gid);
diff --git a/coreutils/install.c b/coreutils/install.c
index aa7e8bf..c899158 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -86,7 +86,7 @@ int install_main(int argc, char **argv)
break;
}
}
- if ((flags & (OPT_OWNER|OPT_GROUP))
+ if ((flags & (OPT_OWNER|OPT_GROUP))
&& lchown(*argv, uid, gid) == -1
) {
bb_perror_msg("cannot change ownership of %s", *argv);