[CRIU] [PATCH 1/2] util: Fix mega/giga typos

Cyrill Gorcunov gorcunov at openvz.org
Mon Aug 10 02:44:02 PDT 2015


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/util.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/util.h b/include/util.h
index 7e70a71a5f25..f2300a95f40d 100644
--- a/include/util.h
+++ b/include/util.h
@@ -31,8 +31,8 @@
 #define GBYTES(size)	PREF_SHIFT_OP(G, >>, size)
 
 #define KILO(size)	PREF_SHIFT_OP(K, <<, size)
-#define MEGA(size)	PREF_SHIFT_OP(K, <<, size)
-#define GIGA(size)	PREF_SHIFT_OP(K, <<, size)
+#define MEGA(size)	PREF_SHIFT_OP(M, <<, size)
+#define GIGA(size)	PREF_SHIFT_OP(G, <<, size)
 
 struct vma_area;
 struct list_head;
-- 
2.4.3



More information about the CRIU mailing list