aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
commitb71c668c577f7780362f7ea632895c11e3760d66 (patch)
tree860ccf38cce8c5347ae2b714a22b82a1d7dba323 /libbb
parent82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff)
downloadbusybox-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz
style fix (stray space before ';')
Diffstat (limited to 'libbb')
-rw-r--r--libbb/human_readable.c2
-rw-r--r--libbb/speed_table.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libbb/human_readable.c b/libbb/human_readable.c
index 7714abecb..09fa82c09 100644
--- a/libbb/human_readable.c
+++ b/libbb/human_readable.c
@@ -75,7 +75,7 @@ const char *make_human_readable_str(unsigned long long size,
if (frac >= 5) {
++val;
}
- f = "%llu%*c" /* fmt_no_tenths */ ;
+ f = "%llu%*c" /* fmt_no_tenths */;
frac = 1;
}
#endif
diff --git a/libbb/speed_table.c b/libbb/speed_table.c
index 0f0b33d3b..94a296238 100644
--- a/libbb/speed_table.c
+++ b/libbb/speed_table.c
@@ -94,7 +94,7 @@ int main(void)
unsigned long v;
speed_t s;
- for (v = 0 ; v < 500000 ; v++) {
+ for (v = 0 ; v < 500000; v++) {
s = tty_value_to_baud(v);
if (s == (speed_t) -1) {
continue;
@@ -104,7 +104,7 @@ int main(void)
printf("-------------------------------\n");
- for (s = 0 ; s < 010017+1 ; s++) {
+ for (s = 0 ; s < 010017+1; s++) {
v = tty_baud_to_value(s);
if (!v) {
continue;