summaryrefslogtreecommitdiff
path: root/src/rio.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-07-26 15:29:53 +0200
committerantirez <antirez@gmail.com>2015-07-26 15:29:53 +0200
commit2d9e3eb107b6b6289d5e3a51a32b3a018c96103c (patch)
tree379b4a8c2498a9be22d2f2b9ea3970669ebe42e5 /src/rio.c
parent14ff572482cfe02c5ac61a1816cb8099d458e499 (diff)
downloadredis-2d9e3eb107b6b6289d5e3a51a32b3a018c96103c.tar.gz
RDMF: redisAssert -> serverAssert.
Diffstat (limited to 'src/rio.c')
-rw-r--r--src/rio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rio.c b/src/rio.c
index 1cc6225f7..329c887a4 100644
--- a/src/rio.c
+++ b/src/rio.c
@@ -299,7 +299,7 @@ void rioGenericUpdateChecksum(rio *r, const void *buf, size_t len) {
* disk I/O concentrated in very little time. When we fsync in an explicit
* way instead the I/O pressure is more distributed across time. */
void rioSetAutoSync(rio *r, off_t bytes) {
- redisAssert(r->read == rioFileIO.read);
+ serverAssert(r->read == rioFileIO.read);
r->io.file.autosync = bytes;
}