diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-30 20:06:03 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-30 20:06:03 +0200 |
commit | 3ca050df19c0f65f7fcb7ab1b7a8a73ef7b1ab98 (patch) | |
tree | 5c1fd1b34a1c3c89387d1be884898d93f5703bbf | |
parent | 6ddcd3f630b33d0d962327a2eff1f8e6e42e75d0 (diff) |
Tidy up the log macros
-rw-r--r-- | libasound.c | 8 |
1 files 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 <err.h> #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" |