diff options
author | Sami Kerola | 2012-07-14 23:35:41 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-16 18:18:21 +0200 |
commit | 510a1a3450e5691ef71f722ddeb4b8c857f2c912 (patch) | |
tree | 8c75d69a94daa2da7a6ea6ae59847056af76cd36 /lib | |
parent | lib/pager: minor compiler warning fixes (diff) | |
download | kernel-qcow2-util-linux-510a1a3450e5691ef71f722ddeb4b8c857f2c912.tar.gz kernel-qcow2-util-linux-510a1a3450e5691ef71f722ddeb4b8c857f2c912.tar.xz kernel-qcow2-util-linux-510a1a3450e5691ef71f722ddeb4b8c857f2c912.zip |
lib/loopdev: minor bug fix: add missing semicolon
Missing semicolon made test_loop_info() to return function
loopcxt_enable_debug() return value, which happen to be void. I
suspect the loopcxt_enable_debug() was usually not executed, while it
should be.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/loopdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/loopdev.c b/lib/loopdev.c index b644ae50c..a9f6df220 100644 --- a/lib/loopdev.c +++ b/lib/loopdev.c @@ -1450,7 +1450,7 @@ static void test_loop_info(const char *device, int flags, int debug) uint64_t u64; if (loopcxt_init(&lc, flags)) - return + return; loopcxt_enable_debug(&lc, debug); if (loopcxt_set_device(&lc, device)) |