Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/zdtm/static/memfd02.c')
-rw-r--r--test/zdtm/static/memfd02.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/zdtm/static/memfd02.c b/test/zdtm/static/memfd02.c
index 1843e9c9a..12e294921 100644
--- a/test/zdtm/static/memfd02.c
+++ b/test/zdtm/static/memfd02.c
@@ -13,10 +13,14 @@
#include "zdtmtst.h"
-const char *test_doc = "memfd mmap";
-const char *test_author = "Nicolas Viennot <Nicolas.Viennot@twosigma.com>";
-
-#define err(exitcode, msg, ...) ({ pr_perror(msg, ##__VA_ARGS__); exit(exitcode); })
+const char *test_doc = "memfd mmap";
+const char *test_author = "Nicolas Viennot <Nicolas.Viennot@twosigma.com>";
+
+#define err(exitcode, msg, ...) \
+ ({ \
+ pr_perror(msg, ##__VA_ARGS__); \
+ exit(exitcode); \
+ })
static int _memfd_create(const char *name, unsigned int flags)
{