slave: rename slave_spawn() -> slave_exec()

This commit is contained in:
Daniel Eklöf 2019-10-28 18:53:41 +01:00
parent 4ec9db8e18
commit ce5f5e4d51
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@
#include "log.h"
void
slave_spawn(int ptmx, char *const argv[], int err_fd)
slave_exec(int ptmx, char *const argv[], int err_fd)
{
int pts = -1;
const char *pts_name = ptsname(ptmx);

View file

@ -1,4 +1,4 @@
#pragma once
#include <stdbool.h>
void slave_spawn(int ptmx, char *const argv[], int err_fd);
void slave_exec(int ptmx, char *const argv[], int err_fd);

View file

@ -436,7 +436,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
shell_argv = _shell_argv;
}
slave_spawn(ptmx, shell_argv, fork_pipe[1]);
slave_exec(ptmx, shell_argv, fork_pipe[1]);
assert(false);
break;