summaryrefslogtreecommitdiffstats
path: root/tools/pvdisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvdisplay.c')
-rw-r--r--tools/pvdisplay.c6
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;
}