From 8e858e2700651a0e973169b579622cd3dcd0defd Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 7 Mar 2007 09:35:43 +0000 Subject: clean up accumulated whitespace damage --- libbb/create_icmp_socket.c | 2 +- libbb/getopt32.c | 6 +++--- libbb/read.c | 2 +- libbb/xfuncs.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libbb') 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); -- cgit v1.2.3