summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-24 15:40:16 +0000
committerDenis Vlasenko2007-03-24 15:40:16 +0000
commit219d14d514ca4d31b4319af14e3a64b66fe2c233 (patch)
treea74e8ce7604ff932a3990de3065c167392e4b082 /libbb
parent644849a3aa0c834a942fb7777ec449d8098bcfc9 (diff)
downloadbusybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.zip
busybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.tar.gz
random style fixes (extra spaces deleted)
Diffstat (limited to 'libbb')
-rw-r--r--libbb/bb_pwd.c2
-rw-r--r--libbb/human_readable.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c
index 223a6b4..3af1994 100644
--- a/libbb/bb_pwd.c
+++ b/libbb/bb_pwd.c
@@ -28,7 +28,7 @@
/* internal function for bb_getpwuid and bb_getgrgid */
static char* bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix)
{
- if (bufsize > 0 ) {
+ if (bufsize > 0) {
assert(buffer != NULL);
if (idname) {
return safe_strncpy(buffer, idname, bufsize);
diff --git a/libbb/human_readable.c b/libbb/human_readable.c
index ff1b551..7469e79 100644
--- a/libbb/human_readable.c
+++ b/libbb/human_readable.c
@@ -72,8 +72,8 @@ const char *make_human_readable_str(unsigned long long size,
}
#if 0
/* Sample code to omit decimal point and tenths digit. */
- if ( /* no_tenths */ 1 ) {
- if ( frac >= 5 ) {
+ if (/* no_tenths */ 1) {
+ if (frac >= 5) {
++val;
}
f = "%llu%*c" /* fmt_no_tenths */ ;