summaryrefslogtreecommitdiffstats
path: root/svm
diff options
context:
space:
mode:
Diffstat (limited to 'svm')
-rw-r--r--svm/svm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svm/svm.c b/svm/svm.c
index 4d45b29785d..ab749137424 100644
--- a/svm/svm.c
+++ b/svm/svm.c
@@ -117,9 +117,9 @@ static u8 * format_svm_size (u8 * s, va_list * args)
{
uword size = va_arg (*args, uword);
- if (size >= (1>>20)) {
+ if (size >= (1<<20)) {
s = format (s, "(%d mb)", size >> 20);
- } else if (size >= (1>>10)) {
+ } else if (size >= (1<<10)) {
s = format (s, "(%d kb)", size >> 10);
} else {
s = format (s, "(%d bytes)", size);