summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-30 20:06:03 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-30 20:06:03 +0200
commit3ca050df19c0f65f7fcb7ab1b7a8a73ef7b1ab98 (patch)
tree5c1fd1b34a1c3c89387d1be884898d93f5703bbf
parent6ddcd3f630b33d0d962327a2eff1f8e6e42e75d0 (diff)
Tidy up the log macros
-rw-r--r--libasound.c8
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"