Merged Solaris patches provided by Alan Harder

This commit is contained in:
antirez
2009-10-26 16:25:07 +01:00
parent e3870fab57
commit 325d1eb4a8
3 changed files with 10 additions and 13 deletions

View File

@ -2329,7 +2329,7 @@ static int rdbSave(char *filename) {
/* Use RENAME to make sure the DB file is changed atomically only
* if the generate DB file is ok. */
if (rename(tmpfile,filename) == -1) {
redisLog(REDIS_WARNING,"Error moving temp DB file on the final destionation: %s", strerror(errno));
redisLog(REDIS_WARNING,"Error moving temp DB file on the final destination: %s", strerror(errno));
unlink(tmpfile);
return REDIS_ERR;
}