From 8ef2b021edcdec38f160675349c4797335f7a264 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 19 Dec 2002 23:25:55 +0000 Subject: 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 --- tools/pvdisplay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/pvdisplay.c') 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; } -- cgit