summaryrefslogtreecommitdiff
path: root/src/rdb.c
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2020-10-28 14:51:35 +0800
committerGitHub <noreply@github.com>2020-10-28 08:51:35 +0200
commit69871760599faafb1a6201b49ec5197ec3294b64 (patch)
treee5c19aa447c6b824f8b6f59e5ec210a4f1f5bcca /src/rdb.c
parent39436b21527d878f23eef0bd64edbff47af073c5 (diff)
downloadredis-69871760599faafb1a6201b49ec5197ec3294b64.tar.gz
docs: Fix some typos in comments and log messge (#7975)
Diffstat (limited to 'src/rdb.c')
-rw-r--r--src/rdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rdb.c b/src/rdb.c
index 9301cdf71..db5698c1d 100644
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -1419,7 +1419,7 @@ int rdbSaveBackground(char *filename, rdbSaveInfo *rsi) {
/* Note that we may call this function in signal handle 'sigShutdownHandler',
* so we need guarantee all functions we call are async-signal-safe.
- * If we call this function from signal handle, we won't call bg_unlik that
+ * If we call this function from signal handle, we won't call bg_unlink that
* is not async-signal-safe. */
void rdbRemoveTempFile(pid_t childpid, int from_signal) {
char tmpfile[256];
@@ -1892,7 +1892,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb, sds key) {
return NULL;
}
if (!raxInsert(cgroup->pel,rawid,sizeof(rawid),nack,NULL))
- rdbExitReportCorruptRDB("Duplicated gobal PEL entry "
+ rdbExitReportCorruptRDB("Duplicated global PEL entry "
"loading stream consumer group");
}