mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
restore errno
This commit is contained in:
parent
97ad9ab984
commit
125d4fdf2e
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ void sway_log_errno(log_importance_t verbosity, char* format, ...) {
|
||||||
}
|
}
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
}
|
}
|
||||||
|
errno = errsv;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool _sway_assert(bool condition, const char *filename, int line, const char* format, ...) {
|
bool _sway_assert(bool condition, const char *filename, int line, const char* format, ...) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue