diff --git a/src/lib66/state/deps-lib/deps b/src/lib66/state/deps-lib/deps
index 7d53df783d25c046ccc84197e14e6e492b337322..bd851572a7595656c05dd094751d13041bc8c826 100644
--- a/src/lib66/state/deps-lib/deps
+++ b/src/lib66/state/deps-lib/deps
@@ -5,7 +5,7 @@ state_read.o
 state_rmfile.o
 state_set_flag.o
 state_unpack.o
-state_write_tmp.o
+state_write_remote.o
 state_write.o
 -loblibs
 -lskarnet
diff --git a/src/lib66/state/state_write_tmp.c b/src/lib66/state/state_write_remote.c
similarity index 93%
rename from src/lib66/state/state_write_tmp.c
rename to src/lib66/state/state_write_remote.c
index 4dac683af7541e7b617cfa74c2dd889d7d837c02..9b54fb48b63f9536a7fc5ba256e93e905ed542e1 100644
--- a/src/lib66/state/state_write_tmp.c
+++ b/src/lib66/state/state_write_remote.c
@@ -1,5 +1,5 @@
 /*
- * state_write_tmp.c
+ * state_write_remote.c
  *
  * Copyright (c) 2018-2021 Eric Vidal <eric@obarun.org>
  *
@@ -24,7 +24,7 @@
 #include <66/state.h>
 #include <66/constants.h>
 
-int state_write_tmp(ss_state_t *sta, char const *dst)
+int state_write_remote(ss_state_t *sta, char const *dst)
 {
     log_flow() ;