Typo: subproccloneFunc -> subprocCloneFunc
authorRobert Swiecki <robert@swiecki.net>
Sat, 15 Oct 2016 00:58:42 +0000 (02:58 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sat, 15 Oct 2016 00:58:42 +0000 (02:58 +0200)
subproc.c

index 5f6bbce7762c2c46fc66f808412f13a73ae3df3f..fcfa7403773da4a1b462e0066bcb839762612015 100644 (file)
--- a/subproc.c
+++ b/subproc.c
@@ -292,7 +292,7 @@ static bool subprocInitParent(struct nsjconf_t *nsjconf, pid_t pid, int pipefd)
 
 static uint8_t subprocCloneStack[PTHREAD_STACK_MIN * 2];
 
-static int subproccloneFunc(void *arg)
+static int subprocCloneFunc(void *arg)
 {
        jmp_buf *env_ptr = (jmp_buf *) arg;
        longjmp(*env_ptr, 1);
@@ -310,7 +310,7 @@ pid_t subprocClone(uintptr_t flags)
        if (setjmp(env) == 0) {
                void *stack_mid = &subprocCloneStack[sizeof(subprocCloneStack) / 2];
                // Parent
-               return clone(subproccloneFunc, stack_mid, flags, &env, NULL, NULL);
+               return clone(subprocCloneFunc, stack_mid, flags, &env, NULL, NULL);
        }
        // Child
        return 0;