14 lines
451 B
Diff
14 lines
451 B
Diff
Index: tools/pvscan.c
|
|
===================================================================
|
|
--- tools/pvscan.c.orig 2008-11-04 06:14:30.000000000 +0800
|
|
+++ tools/pvscan.c 2009-04-27 16:15:52.000000000 +0800
|
|
@@ -166,7 +166,7 @@
|
|
size_new += pv_size(pv);
|
|
size_total += pv_size(pv);
|
|
} else
|
|
- size_total += pv_pe_count(pv) * pv_pe_size(pv);
|
|
+ size_total += (uint64_t)pv_pe_count(pv) * pv_pe_size(pv);
|
|
}
|
|
|
|
/* find maximum pv name length */
|