Fix compilation error:
./include/linux/umh.h:64:36: error: pasting "(" and "argv"
does not give a valid preprocessing token: fix vararg expansion

https://virtuozzo.atlassian.net/browse/VSTOR-130116

Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <[email protected]>
---
 include/linux/umh.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/umh.h b/include/linux/umh.h
index 35fc4023df74..a71a5e4434fb 100644
--- a/include/linux/umh.h
+++ b/include/linux/umh.h
@@ -61,10 +61,10 @@ extern void wait_khelpers(struct ve_struct *ve);
 #else /* CONFIG_VE */
 
 #define call_usermodehelper_ve(ve, ...)                \
-               call_usermodehelper(##__VA_ARGS__)
+               call_usermodehelper(__VA_ARGS__)
 
 #define call_usermodehelper_exec_ve(ve, ...)   \
-               call_usermodehelper_exec_ve(##__VA_ARGS__)
+               call_usermodehelper_exec(__VA_ARGS__)
 
 #endif /* CONFIG_VE */
 
-- 
2.47.1

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to