]> git.proxmox.com Git - mirror_zfs.git/blobdiff - cmd/raidz_test/raidz_test.h
Remove bcopy(), bzero(), bcmp()
[mirror_zfs.git] / cmd / raidz_test / raidz_test.h
index 40a8a85e5f6ff45f3f98ee9969799f1d926cc24b..7059d985b329037d3bd4d3a5c457af001bae6c84 100644 (file)
@@ -92,19 +92,19 @@ static inline size_t ilog2(size_t a)
 }
 
 
-#define        LOG(lvl, a...)                          \
+#define        LOG(lvl, ...)                           \
 {                                              \
        if (rto_opts.rto_v >= lvl)              \
-               (void) fprintf(stdout, a);      \
+               (void) fprintf(stdout, __VA_ARGS__);    \
 }                                              \
 
-#define        LOG_OPT(lvl, opt, a...)                 \
+#define        LOG_OPT(lvl, opt, ...)                  \
 {                                              \
        if (opt->rto_v >= lvl)                  \
-               (void) fprintf(stdout, a);      \
+               (void) fprintf(stdout, __VA_ARGS__);    \
 }                                              \
 
-#define        ERR(a...)       (void) fprintf(stderr, a)
+#define        ERR(...)        (void) fprintf(stderr, __VA_ARGS__)
 
 
 #define        DBLSEP "================\n"