aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index dcaca033..960d6d24 100644
--- a/terminal.c
+++ b/terminal.c
@@ -3119,7 +3119,8 @@ term_bell(struct terminal *term)
(!term->kbd_focus || term->conf->bell.command_focused))
{
int devnull = open("/dev/null", O_RDONLY);
- spawn(term->reaper, NULL, term->conf->bell.command.argv.args, devnull, -1, -1);
+ spawn(term->reaper, NULL, term->conf->bell.command.argv.args,
+ devnull, -1, -1, NULL);
if (devnull >= 0)
close(devnull);
@@ -3131,7 +3132,7 @@ term_spawn_new(const struct terminal *term)
{
return spawn(
term->reaper, term->cwd, (char *const []){term->foot_exe, NULL},
- -1, -1, -1);
+ -1, -1, -1, NULL);
}
void