]> err.no Git - util-linux/commitdiff
lib: fix syntax error in blkdev.c
authorKarel Zak <kzak@redhat.com>
Mon, 23 Aug 2010 09:06:08 +0000 (11:06 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Aug 2010 09:06:08 +0000 (11:06 +0200)
Reported-by: Tuco <tuco.xyz@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/blkdev.c

index 7d00324dafd3fb2decfa5bc110d2e57fb066d0d7..67c4a1ac27b6765e76f879b83fbd92b216ab5d34 100644 (file)
@@ -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