Use const in spawn, remove redundant ()

pull/1/head
Thomas Orozco 10 years ago
parent f3c3b1ec14
commit 1c52aee22c
  1. 2
      src/tini.c

@ -28,7 +28,7 @@ static int verbosity = 0;
static struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 };
int spawn(const sigset_t* const child_sigset_ptr, char (*argv[]), int* const child_pid_ptr) {
int spawn(const sigset_t* const child_sigset_ptr, char* const argv[], int* const child_pid_ptr) {
pid_t pid;
pid = fork();

Loading…
Cancel
Save