aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/log.c b/common/log.c
index 877534c8..1b46d58f 100644
--- a/common/log.c
+++ b/common/log.c
@@ -153,6 +153,7 @@ void sway_log_errno(log_importance_t verbosity, char* format, ...) {
}
fprintf(stderr, "\n");
}
+ errno = errsv;
}
bool _sway_assert(bool condition, const char *filename, int line, const char* format, ...) {