summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1e0ab55)
raw | patch | inline | side by side (parent: 1e0ab55)
author | Max Kellermann <max.kellermann@gmail.com> | |
Sun, 19 Mar 2017 09:56:40 +0000 (10:56 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Sun, 19 Mar 2017 09:56:40 +0000 (10:56 +0100) |
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index 6de16e54bed8078f7b6f37b17ecc230dfd922cd3..85548bec1ebaa6376f01f52dd228713bfc08abda 100644 (file)
--- a/src/main.c
+++ b/src/main.c
static void
catch_sigcont(gcc_unused int sig)
{
- char irrelevant = 'a';
- if (1 != write(sigwinch_pipes[1], &irrelevant, 1))
+ if (1 != write(sigwinch_pipes[1], "", 1))
exit(EXIT_FAILURE);
}