summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-08-23 11:06:08 +0200
committerKarel Zak <kzak@redhat.com>2010-08-23 11:06:08 +0200
commitfab1c0463a7147599e5878e307be10e358a77074 (patch)
treea62ea6ec3ccd87ad5ef7573dea6a96cbe703b61c
parent295b8bb906b7c3c14edb24b226331f6ddfd04427 (diff)
downloadutil-linux-old-fab1c0463a7147599e5878e307be10e358a77074.tar.gz
lib: fix syntax error in blkdev.c
Reported-by: Tuco <tuco.xyz@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--lib/blkdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/blkdev.c b/lib/blkdev.c
index 7d00324d..67c4a1ac 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