summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libblkid/src/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c
index 0455c3797..63baed33e 100644
--- a/libblkid/src/probe.c
+++ b/libblkid/src/probe.c
@@ -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;
}