summaryrefslogtreecommitdiffstats
path: root/lib/blkdev.c
diff options
context:
space:
mode:
authorKarel Zak2010-08-23 11:06:08 +0200
committerKarel Zak2010-08-23 11:06:08 +0200
commitfab1c0463a7147599e5878e307be10e358a77074 (patch)
treea62ea6ec3ccd87ad5ef7573dea6a96cbe703b61c /lib/blkdev.c
parenttests: update lscpu tests (diff)
downloadkernel-qcow2-util-linux-fab1c0463a7147599e5878e307be10e358a77074.tar.gz
kernel-qcow2-util-linux-fab1c0463a7147599e5878e307be10e358a77074.tar.xz
kernel-qcow2-util-linux-fab1c0463a7147599e5878e307be10e358a77074.zip
lib: fix syntax error in blkdev.c
Reported-by: Tuco <tuco.xyz@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/blkdev.c')
-rw-r--r--lib/blkdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/blkdev.c b/lib/blkdev.c
index 7d00324da..67c4a1ac2 100644
--- a/lib/blkdev.c
+++ b/lib/blkdev.c
@@ -104,7 +104,7 @@ blkdev_get_size(int fd, unsigned long long *bytes)
#ifdef DIOCGMEDIASIZE
/* FreeBSD */
if (ioctl(fd, DIOCGMEDIASIZE, bytes) >= 0)
- return 0
+ return 0;
#endif
#ifdef FDGETPRM