aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-07 09:35:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-07 09:35:43 +0000
commit8e858e2700651a0e973169b579622cd3dcd0defd (patch)
tree4829004760bedec63aa8a72affe75591e482fe4a /libbb
parent41cca2b4f54a2c8dadd2469747aca91d891c0b15 (diff)
downloadbusybox-8e858e2700651a0e973169b579622cd3dcd0defd.tar.gz
clean up accumulated whitespace damage
Diffstat (limited to 'libbb')
-rw-r--r--libbb/create_icmp_socket.c2
-rw-r--r--libbb/getopt32.c6
-rw-r--r--libbb/read.c2
-rw-r--r--libbb/xfuncs.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/libbb/create_icmp_socket.c b/libbb/create_icmp_socket.c
index 666454888..dbd4769f6 100644
--- a/libbb/create_icmp_socket.c
+++ b/libbb/create_icmp_socket.c
@@ -22,7 +22,7 @@ int create_icmp_socket(void)
* proto->p_proto to have the correct value for "icmp" */
sock = socket(AF_INET, SOCK_RAW,
(proto ? proto->p_proto : 1)); /* 1 == ICMP */
- if (sock < 0) {
+ if (sock < 0) {
if (errno == EPERM)
bb_error_msg_and_die(bb_msg_perm_denied_are_you_root);
bb_perror_msg_and_die(bb_msg_can_not_create_raw_socket);
diff --git a/libbb/getopt32.c b/libbb/getopt32.c
index f93438df0..9f5fd60bd 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -79,9 +79,9 @@ const struct option *applet_long_options
(see getopt(3))
static const struct option applet_long_options[] = {
- //name,has_arg,flag,val
- { "verbose", 0, 0, 'v' },
- { 0, 0, 0, 0 }
+ //name,has_arg,flag,val
+ { "verbose", 0, 0, 'v' },
+ { 0, 0, 0, 0 }
};
applet_long_options = applet_long_options;
diff --git a/libbb/read.c b/libbb/read.c
index 861828da1..c05b26b50 100644
--- a/libbb/read.c
+++ b/libbb/read.c
@@ -129,7 +129,7 @@ void *xmalloc_open_read_close(const char *filename, size_t *sizep)
buf = xmalloc(size + 1);
size = read_close(fd, buf, size);
if ((ssize_t)size < 0)
- bb_perror_msg_and_die("'%s'", filename);
+ bb_perror_msg_and_die("'%s'", filename);
xrealloc(buf, size + 1);
buf[size] = '\0';
if (sizep) *sizep = size;
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index f6444bbc6..2cc6a8299 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -522,7 +522,7 @@ void bb_sanitize_stdio_maybe_daemonize(int daemonize)
bb_perror_msg_and_die("fork");
if (pid) /* parent */
exit(0);
- /* child */
+ /* child */
/* if daemonizing, make sure we detach from stdio */
setsid();
dup2(fd, 0);