aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-24 15:40:16 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-24 15:40:16 +0000
commitea68635ff13da0351083608d69032e470f487569 (patch)
treea74e8ce7604ff932a3990de3065c167392e4b082 /libbb
parentd9b3977dfc9f8fc0c5abab26c650ff4422100cf4 (diff)
downloadbusybox-w32-ea68635ff13da0351083608d69032e470f487569.tar.gz
busybox-w32-ea68635ff13da0351083608d69032e470f487569.tar.bz2
busybox-w32-ea68635ff13da0351083608d69032e470f487569.zip
random style fixes (extra spaces deleted)
git-svn-id: svn://busybox.net/trunk/busybox@18228 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 223a6b44c..3af1994d5 100644
--- a/libbb/bb_pwd.c
+++ b/libbb/bb_pwd.c
@@ -28,7 +28,7 @@
28/* internal function for bb_getpwuid and bb_getgrgid */ 28/* internal function for bb_getpwuid and bb_getgrgid */
29static char* bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix) 29static char* bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix)
30{ 30{
31 if (bufsize > 0 ) { 31 if (bufsize > 0) {
32 assert(buffer != NULL); 32 assert(buffer != NULL);
33 if (idname) { 33 if (idname) {
34 return safe_strncpy(buffer, idname, bufsize); 34 return safe_strncpy(buffer, idname, bufsize);
diff --git a/libbb/human_readable.c b/libbb/human_readable.c
index ff1b55141..7469e7999 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,
72 } 72 }
73#if 0 73#if 0
74 /* Sample code to omit decimal point and tenths digit. */ 74 /* Sample code to omit decimal point and tenths digit. */
75 if ( /* no_tenths */ 1 ) { 75 if (/* no_tenths */ 1) {
76 if ( frac >= 5 ) { 76 if (frac >= 5) {
77 ++val; 77 ++val;
78 } 78 }
79 f = "%llu%*c" /* fmt_no_tenths */ ; 79 f = "%llu%*c" /* fmt_no_tenths */ ;