aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-26 20:47:46 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-01-26 20:47:46 +0100
commit5d441dd376ba0850f82d0927d798bbb60f70bda4 (patch)
treea39ff842a3d6391a75f1932768fae08686ca03e1
parent44019f6542885fd684c5113c7a5c06308a51102a (diff)
Whitespace
-rw-r--r--net/bonding.sh4
-rw-r--r--src/librc/librc-misc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/net/bonding.sh b/net/bonding.sh
index 21c00e36..7097a4dd 100644
--- a/net/bonding.sh
+++ b/net/bonding.sh
@@ -105,7 +105,7 @@ bonding_pre_start()
local oiface
oiface=$IFACE
if [ -n "${primary}" ]; then
- IFACE=$primary
+ IFACE=$primary
_down
IFACE=$oiface
echo "+${primary}" >$sys_bonding_path/slaves
@@ -114,7 +114,7 @@ bonding_pre_start()
for s in ${slaves}; do
[ "${s}" = "${primary}" ] && continue
if ! grep -q ${s} $sys_bonding_path/slaves; then
- IFACE=$s
+ IFACE=$s
_down
IFACE=$oiface
echo "+${s}" >$sys_bonding_path/slaves
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c
index 6a5f598b..7e9a1091 100644
--- a/src/librc/librc-misc.c
+++ b/src/librc/librc-misc.c
@@ -347,7 +347,7 @@ rc_config_load(const char *file)
#ifdef __linux__
/* Only override rc.conf settings */
- if(strcmp(file, RC_CONF) == 0) {
+ if (strcmp(file, RC_CONF) == 0) {
config = rc_config_override(config);
}
#endif