random style fixes (extra spaces deleted)

This commit is contained in:
Denis Vlasenko
2007-03-24 15:40:16 +00:00
parent 644849a3aa
commit 219d14d514
11 changed files with 20 additions and 20 deletions

View File

@@ -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);

View File

@@ -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 */ ;