diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2013-12-12 13:14:50 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-12-12 13:14:52 -0500 |
commit | 8d74ab767d0f97258fed40f2f2d862227545bcea (patch) | |
tree | 79df8c848859ce5060a1b13ad6c84f60e8ea3bca /lib/ext2fs/flushb.c | |
parent | b2778bcb8c37705ea97fee58199446d83dbda927 (diff) | |
download | android_external_e2fsprogs-8d74ab767d0f97258fed40f2f2d862227545bcea.tar.gz android_external_e2fsprogs-8d74ab767d0f97258fed40f2f2d862227545bcea.tar.bz2 android_external_e2fsprogs-8d74ab767d0f97258fed40f2f2d862227545bcea.zip |
libext2fs: check return values
Fix up a few places where we ignore return values.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/flushb.c')
-rw-r--r-- | lib/ext2fs/flushb.c | 2 |
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 |