aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
commit60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch)
tree493e30821f3d484b7395ce9d9e4be39ec9a43126 /libbb
parentb8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff)
downloadbusybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/inet_common.c4
-rw-r--r--libbb/loop.c6
-rw-r--r--libbb/procps.c2
-rw-r--r--libbb/selinux_common.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c
index 7208db9ea..0f4fca1a2 100644
--- a/libbb/inet_common.c
+++ b/libbb/inet_common.c
@@ -97,7 +97,7 @@ char* FAST_FUNC INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t ne
97 if (s_in->sin_family != AF_INET) { 97 if (s_in->sin_family != AF_INET) {
98#ifdef DEBUG 98#ifdef DEBUG
99 bb_error_msg("rresolve: unsupported address family %d!", 99 bb_error_msg("rresolve: unsupported address family %d!",
100 s_in->sin_family); 100 s_in->sin_family);
101#endif 101#endif
102 errno = EAFNOSUPPORT; 102 errno = EAFNOSUPPORT;
103 return NULL; 103 return NULL;
@@ -195,7 +195,7 @@ char* FAST_FUNC INET6_rresolve(struct sockaddr_in6 *sin6, int numeric)
195 if (sin6->sin6_family != AF_INET6) { 195 if (sin6->sin6_family != AF_INET6) {
196#ifdef DEBUG 196#ifdef DEBUG
197 bb_error_msg("rresolve: unsupported address family %d!", 197 bb_error_msg("rresolve: unsupported address family %d!",
198 sin6->sin6_family); 198 sin6->sin6_family);
199#endif 199#endif
200 errno = EAFNOSUPPORT; 200 errno = EAFNOSUPPORT;
201 return NULL; 201 return NULL;
diff --git a/libbb/loop.c b/libbb/loop.c
index b3a520848..823fba079 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -150,9 +150,9 @@ int FAST_FUNC set_loop(char **device, const char *file, unsigned long long offse
150 } 150 }
151 151
152 /* If this block device already set up right, re-use it. 152 /* If this block device already set up right, re-use it.
153 (Yes this is racy, but associating two loop devices with the same 153 * (Yes this is racy, but associating two loop devices with the same
154 file isn't pretty either. In general, mounting the same file twice 154 * file isn't pretty either. In general, mounting the same file twice
155 without using losetup manually is problematic.) 155 * without using losetup manually is problematic.)
156 */ 156 */
157 } else 157 } else
158 if (strcmp(file, (char *)loopinfo.lo_file_name) != 0 158 if (strcmp(file, (char *)loopinfo.lo_file_name) != 0
diff --git a/libbb/procps.c b/libbb/procps.c
index b4557e797..5b68d3431 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -180,7 +180,7 @@ static char *skip_fields(char *str, int count)
180 180
181#if ENABLE_FEATURE_TOPMEM || ENABLE_PMAP 181#if ENABLE_FEATURE_TOPMEM || ENABLE_PMAP
182int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total, 182int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total,
183 void (*cb)(struct smaprec *, void *), void *data) 183 void (*cb)(struct smaprec *, void *), void *data)
184{ 184{
185 FILE *file; 185 FILE *file;
186 struct smaprec currec; 186 struct smaprec currec;
diff --git a/libbb/selinux_common.c b/libbb/selinux_common.c
index 62910e285..c2585557f 100644
--- a/libbb/selinux_common.c
+++ b/libbb/selinux_common.c
@@ -10,7 +10,7 @@
10#include <selinux/context.h> 10#include <selinux/context.h>
11 11
12context_t FAST_FUNC set_security_context_component(security_context_t cur_context, 12context_t FAST_FUNC set_security_context_component(security_context_t cur_context,
13 char *user, char *role, char *type, char *range) 13 char *user, char *role, char *type, char *range)
14{ 14{
15 context_t con = context_new(cur_context); 15 context_t con = context_new(cur_context);
16 if (!con) 16 if (!con)