mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
fix partition table signature size
This commit is contained in:
parent
e3cca74ba5
commit
57b8df3e45
@ -35,7 +35,7 @@ static int _is_partitionable(struct device *dev)
|
|||||||
static int _has_partition_table(struct device *dev)
|
static int _has_partition_table(struct device *dev)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
uint32_t part_magic;
|
uint16_t part_magic;
|
||||||
|
|
||||||
if (!dev_open(dev)) {
|
if (!dev_open(dev)) {
|
||||||
stack;
|
stack;
|
||||||
|
Loading…
Reference in New Issue
Block a user