diff options
author | Alasdair Kergon <agk@redhat.com> | 2002-12-19 23:25:55 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2002-12-19 23:25:55 +0000 |
commit | 8ef2b021edcdec38f160675349c4797335f7a264 (patch) | |
tree | 9abf06514583ded09112a98cb066879f557bee87 /tools/pvdisplay.c | |
parent | 4c64ed4ced7dcd3a98a63da1cd3a6f2f1f2d1701 (diff) | |
download | lvm2-8ef2b021edcdec38f160675349c4797335f7a264.tar.gz lvm2-8ef2b021edcdec38f160675349c4797335f7a264.tar.xz lvm2-8ef2b021edcdec38f160675349c4797335f7a264.zip |
Default stripesize 64k & config file setting for it;
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
Diffstat (limited to 'tools/pvdisplay.c')
-rw-r--r-- | tools/pvdisplay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/pvdisplay.c b/tools/pvdisplay.c index 2bb74ea4..c6e958b4 100644 --- a/tools/pvdisplay.c +++ b/tools/pvdisplay.c @@ -20,8 +20,8 @@ #include "tools.h" -int pvdisplay_single(struct cmd_context *cmd, struct volume_group *vg, - struct physical_volume *pv, void *handle) +static int _pvdisplay_single(struct cmd_context *cmd, struct volume_group *vg, + struct physical_volume *pv, void *handle) { uint64_t size; @@ -82,7 +82,7 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv) return EINVALID_CMD_LINE; } - process_each_pv(cmd, argc, argv, NULL, NULL, pvdisplay_single); + process_each_pv(cmd, argc, argv, NULL, NULL, _pvdisplay_single); return 0; } |