]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: fix mistake in debug message
authorKarel Zak <kzak@redhat.com>
Tue, 19 Apr 2016 10:45:00 +0000 (12:45 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Apr 2016 10:45:00 +0000 (12:45 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/probe.c

index 0455c37975876857768d916e71e5e36977397d41..63baed33e1f15c4fa41ec6648b6358be272f8392 100644 (file)
@@ -793,7 +793,7 @@ failed:
        /* 'n' is the failed sector, reduce device size to n-1; */
        DBG(LOWPROBE, ul_debug("CDROM: reduce size from %ju to %ju.",
                                (uintmax_t) pr->size,
-                               (uintmax_t) (n - 1) << 9));
+                               (uintmax_t) n << 9));
        pr->size = n << 9;
 }