From: Sami Kerola Date: Sat, 14 Jul 2012 21:35:41 +0000 (+0200) Subject: lib/loopdev: minor bug fix: add missing semicolon X-Git-Tag: v2.22-rc1~144^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=510a1a3450e5691ef71f722ddeb4b8c857f2c912;p=thirdparty%2Futil-linux.git 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 --- diff --git a/lib/loopdev.c b/lib/loopdev.c index b644ae50c9..a9f6df2203 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))