diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-03 06:13:28 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-03 06:13:28 +0200 |
commit | 4bb5a9397366f6c773f221f31966ba7cfaffd8a3 (patch) | |
tree | b5b0490e432841cc24563d1270e340f2484bc96c /src/util | |
parent | e5c5a94c3db7ed4b71be2f15aa149829d45afbb9 (diff) |
simulate mmap access
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index fe3f50c..a6defc3 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -22,6 +22,7 @@ do_debug(void) #define WARNX(x, ...) do { if (do_debug()) warnx("asound: %s " x, __func__, ##__VA_ARGS__); } while (0) #define ERRX1(x, y) do { errx(x, "asound: %s %s", __func__, y); } while (0) #define ERRX(x, y, ...) do { errx(x, "asound: %s " y, __func__, ##__VA_ARGS__); } while (0) +#define ERR1(x, y) do { err(x, "asound: %s %s", __func__, y); } while (0) #define ERR(x, y, ...) do { err(x, "asound: %s " y, __func__, ##__VA_ARGS__); } while (0) #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) |