From 3ca050df19c0f65f7fcb7ab1b7a8a73ef7b1ab98 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 30 Oct 2018 20:06:03 +0200 Subject: Tidy up the log macros --- libasound.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libasound.c b/libasound.c index 1733056..7fef5f1 100644 --- a/libasound.c +++ b/libasound.c @@ -14,11 +14,11 @@ #include #define WARN1(x) do { warn("asound: %s %s", __func__, x); } while (0) -#define WARN(x, ...) do { warn("asound: %s "x, __func__, ##__VA_ARGS__); } while (0) +#define WARN(x, ...) do { warn("asound: %s " x, __func__, ##__VA_ARGS__); } while (0) #define WARNX1(x) do { warnx("asound: %s %s", __func__, x); } while (0) -#define WARNX(x, ...) do { warnx("asound: %s "x, __func__, ##__VA_ARGS__); } while (0) -#define ERRX(x, y, ...) do { errx(x, "asound: %s "y, __func__, ##__VA_ARGS__); } while (0) -#define ERR(x, y, ...) do { err(x, "asound: %s "y, __func__, ##__VA_ARGS__); } while (0) +#define WARNX(x, ...) do { warnx("asound: %s " x, __func__, ##__VA_ARGS__); } while (0) +#define ERRX(x, y, ...) do { errx(x, "asound: %s " y, __func__, ##__VA_ARGS__); } while (0) +#define ERR(x, y, ...) do { err(x, "asound: %s " y, __func__, ##__VA_ARGS__); } while (0) #include "stubs.h" -- cgit v1.2.3