path: root/src/hdaccess.c
diff options
authorChristophe Grenier <>2013-11-01 12:19:53 +0100
committerChristophe Grenier <>2013-11-01 12:19:53 +0100
commit9440623c9768c7e235be10ed595149fdb644a911 (patch)
tree324a9b9530d9895305ed278a41d37e8c2b138b46 /src/hdaccess.c
parente4ed9d6e9d7335281a956d07b49aca4fcd978ba6 (diff)
code style: ignore some function return value
Diffstat (limited to 'src/hdaccess.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index e9df045..2bf66e1 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -1499,7 +1499,7 @@ disk_t *file_test_availability(const char *device, const int verbose, int testdi
By a bug in the Linux buffer cache, we will see the old
contents of /dev/hda when the change was made to /dev/hda3.
In order to avoid this, discard all blocks on /dev/hda. */
- ioctl(hd_h, BLKFLSBUF); /* ignore errors */
+ (void)ioctl(hd_h, BLKFLSBUF); /* ignore errors */
disk_get_model(hd_h, disk_car, verbose);
disk_get_hpa_dco(hd_h, disk_car);