mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Rename internal macro to match signess
Since _read_int64 called dm_config_get_uint64, rename it to less confusing _read_uint64.
This commit is contained in:
parent
e38b557a74
commit
2465451549
@ -39,7 +39,7 @@ typedef int (*section_fn) (struct format_instance * fid,
|
||||
#define _read_uint32(root, path, result) \
|
||||
dm_config_get_uint32(root, path, result)
|
||||
|
||||
#define _read_int64(root, path, result) \
|
||||
#define _read_uint64(root, path, result) \
|
||||
dm_config_get_uint64(root, path, result)
|
||||
|
||||
/*
|
||||
@ -216,9 +216,9 @@ static int _read_pv(struct format_instance *fid,
|
||||
pv->status |= MISSING_PV;
|
||||
|
||||
/* Late addition */
|
||||
_read_int64(pvn, "dev_size", &pv->size);
|
||||
_read_uint64(pvn, "dev_size", &pv->size);
|
||||
|
||||
if (!_read_int64(pvn, "pe_start", &pv->pe_start)) {
|
||||
if (!_read_uint64(pvn, "pe_start", &pv->pe_start)) {
|
||||
log_error("Couldn't read extent size for physical volume.");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user