diff options
author | Alasdair Kergon <agk@redhat.com> | 2003-03-24 18:08:53 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2003-03-24 18:08:53 +0000 |
commit | 26e7f2e0c4eba61ac7aa91810f549837eb880827 (patch) | |
tree | 008337d10c630f0f842931863ab8166184cbfdaf /tools/pvcreate.c | |
parent | 3a1703294b88978fae66b152068a8c380695f34e (diff) | |
download | lvm2-26e7f2e0c4eba61ac7aa91810f549837eb880827.tar.gz lvm2-26e7f2e0c4eba61ac7aa91810f549837eb880827.tar.xz lvm2-26e7f2e0c4eba61ac7aa91810f549837eb880827.zip |
Tidy various pre-processing incl. making libdl optional.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r-- | tools/pvcreate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c index c0b98d34..5211b2da 100644 --- a/tools/pvcreate.c +++ b/tools/pvcreate.c @@ -129,9 +129,9 @@ static void pvcreate_single(struct cmd_context *cmd, const char *pv_name, if (!pvcreate_check(cmd, pv_name)) goto error; - size = arg_uint64_value(cmd, physicalvolumesize_ARG, __UINT64_C(0)) * 2; + size = arg_uint64_value(cmd, physicalvolumesize_ARG, UINT64_C(0)) * 2; - pvmetadatasize = arg_uint64_value(cmd, metadatasize_ARG, __UINT64_C(0)) + pvmetadatasize = arg_uint64_value(cmd, metadatasize_ARG, UINT64_C(0)) * 2; if (!pvmetadatasize) pvmetadatasize = find_config_int(cmd->cf->root, |