[Devel] [PATCH 2/7] SCALE_PARAM: to support terminating ; properly
Igor Podlesny
openvz at poige.ru
Mon May 13 01:39:18 PDT 2013
-- Similar to commit 670b1af07e5d0402b139e5678651118567695275
---
src/vzcfgscale.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/vzcfgscale.c b/src/vzcfgscale.c
index d78e40b..55fd25e 100644
--- a/src/vzcfgscale.c
+++ b/src/vzcfgscale.c
@@ -103,7 +103,7 @@ do { \
param->name[0] = LONG_MAX; \
if (param->name[1] > LONG_MAX) \
param->name[1] = LONG_MAX; \
-} while(0);
+} while(0)
if (ubc_k)
{
@@ -137,8 +137,8 @@ do { \
}
if (disk_k)
{
- SCALE_PARAM(quota_block, disk_k)
- SCALE_PARAM(quota_inode, disk_k)
+ SCALE_PARAM(quota_block, disk_k);
+ SCALE_PARAM(quota_inode, disk_k);
}
if (net_k && param->rate != NULL)
{
--
1.7.9.5
More information about the Devel
mailing list