diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-09 16:28:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:28:37 -0700 |
commit | 6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107 (patch) | |
tree | 7d89592bcfb1adc10ded38d2f8d09d134ddd34fe /common/log.c | |
parent | Document `focus floating|tiling` (diff) | |
parent | Merge pull request #2234 from emersion/wlr-log-prefix (diff) | |
download | sway-6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107.tar.gz sway-6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107.tar.zst sway-6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107.zip |
Merge branch 'master' into focus-mode-toggle
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.c b/common/log.c index 2cc7289c..847f3952 100644 --- a/common/log.c +++ b/common/log.c | |||
@@ -8,7 +8,7 @@ void sway_terminate(int code); | |||
8 | void _sway_abort(const char *format, ...) { | 8 | void _sway_abort(const char *format, ...) { |
9 | va_list args; | 9 | va_list args; |
10 | va_start(args, format); | 10 | va_start(args, format); |
11 | _wlr_vlog(L_ERROR, format, args); | 11 | _wlr_vlog(WLR_ERROR, format, args); |
12 | va_end(args); | 12 | va_end(args); |
13 | sway_terminate(EXIT_FAILURE); | 13 | sway_terminate(EXIT_FAILURE); |
14 | } | 14 | } |
@@ -20,7 +20,7 @@ bool _sway_assert(bool condition, const char *format, ...) { | |||
20 | 20 | ||
21 | va_list args; | 21 | va_list args; |
22 | va_start(args, format); | 22 | va_start(args, format); |
23 | _wlr_vlog(L_ERROR, format, args); | 23 | _wlr_vlog(WLR_ERROR, format, args); |
24 | va_end(args); | 24 | va_end(args); |
25 | 25 | ||
26 | #ifndef NDEBUG | 26 | #ifndef NDEBUG |