summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
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 7714abe..09fa82c 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 0f0b33d..94a2962 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;