projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sbc8548: correct local bus SDRAM size from 64M to 128M
[oweals/u-boot.git]
/
lib_generic
/
strmhz.c
diff --git
a/lib_generic/strmhz.c
b/lib_generic/strmhz.c
index 342cf2b21269bf3b3b0cde9cfc0795b7d5440136..d6da1d136eef49c4207127672e0c577f74ae8f47 100644
(file)
--- a/
lib_generic/strmhz.c
+++ b/
lib_generic/strmhz.c
@@
-27,7
+27,7
@@
char *strmhz (char *buf, long hz)
long l, n;
long m;
- n = DIV_ROUND(hz, 1000
000L)
;
+ n = DIV_ROUND(hz, 1000
) / 1000L
;
l = sprintf (buf, "%ld", n);
hz -= n * 1000000L;