summaryrefslogtreecommitdiffstats
path: root/src/nSocket
diff options
context:
space:
mode:
Diffstat (limited to 'src/nSocket')
-rw-r--r--src/nSocket/nstack/nstack.c2
-rw-r--r--src/nSocket/nstack/nstack_fd_mng.c2
-rw-r--r--src/nSocket/nstack/nstack_socket.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nSocket/nstack/nstack.c b/src/nSocket/nstack/nstack.c
index 4198266..225c297 100644
--- a/src/nSocket/nstack/nstack.c
+++ b/src/nSocket/nstack/nstack.c
@@ -769,7 +769,7 @@ nstack_fw_init ()
}
common_mem_rwlock_read_lock (get_fork_lock ());
- updata_sys_pid ();
+ update_sys_pid ();
u8 proc_type = NSFW_PROC_APP;
nsfw_mem_para stinfo = { 0 };
diff --git a/src/nSocket/nstack/nstack_fd_mng.c b/src/nSocket/nstack/nstack_fd_mng.c
index ba9b8f1..86e045d 100644
--- a/src/nSocket/nstack/nstack_fd_mng.c
+++ b/src/nSocket/nstack/nstack_fd_mng.c
@@ -180,7 +180,7 @@ nstack_fork_init_parent (pid_t ppid)
void
nstack_fork_init_child (pid_t ppid)
{
- pid_t cpid = updata_sys_pid ();
+ pid_t cpid = update_sys_pid ();
NSSOC_LOGDBG ("parent_pid=%d, child_pid=%d", ppid, cpid);
nsfw_mgr_clr_fd_lock ();
diff --git a/src/nSocket/nstack/nstack_socket.c b/src/nSocket/nstack/nstack_socket.c
index cd1557b..c967d64 100644
--- a/src/nSocket/nstack/nstack_socket.c
+++ b/src/nSocket/nstack/nstack_socket.c
@@ -2797,7 +2797,7 @@ nstack_fork (void)
pid = nsfw_base_fork ();
if (pid == 0)
{
- updata_sys_pid ();
+ update_sys_pid ();
}
NSSOC_LOGERR ("g_nStackInfo has not initialized]parent_pid=%d, pid=%d",
parent_pid, pid);