summaryrefslogtreecommitdiff
path: root/src/rio.c
diff options
context:
space:
mode:
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;
}