diff options
author | 2018-07-09 16:23:03 -0700 | |
---|---|---|
committer | 2018-07-09 16:23:03 -0700 | |
commit | fbeef1322f5d10c1e2dac0d7de2358a59f442455 (patch) | |
tree | 76624b3d4820551261e5c15f773c403c1a41264e /common/log.c | |
parent | Merge pull request #2223 from RyanDwyer/floating-move (diff) | |
parent | Update for swaywm/wlroots#1126 (diff) | |
download | sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.gz sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.zst sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.zip |
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
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 |