summaryrefslogtreecommitdiff
path: root/lib/ext2fs/flushb.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/flushb.c')
-rw-r--r--lib/ext2fs/flushb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/flushb.c b/lib/ext2fs/flushb.c
index ac8923cb..98821fc7 100644
--- a/lib/ext2fs/flushb.c
+++ b/lib/ext2fs/flushb.c
@@ -70,7 +70,7 @@ errcode_t ext2fs_sync_device(int fd, int flushb)
#warning BLKFLSBUF not defined
#endif
#ifdef FDFLUSH
- ioctl (fd, FDFLUSH, 0); /* In case this is a floppy */
+ return ioctl(fd, FDFLUSH, 0); /* In case this is a floppy */
#elif defined(__linux__)
#warning FDFLUSH not defined
#endif