summaryrefslogtreecommitdiff
path: root/lib/error/errseg.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-10-18 18:01:53 +0000
committerAlasdair Kergon <agk@redhat.com>2006-10-18 18:01:53 +0000
commit7c5ec126309518a3476fd637d332f27116b68fd3 (patch)
tree4c5c968d5d953ee4700c9bbf358e4d07f38543e5 /lib/error/errseg.c
parent38a5f0b6e8ab3ab207608fd8d55db3bafd0a4e54 (diff)
downloadlvm2-7c5ec126309518a3476fd637d332f27116b68fd3.tar.gz
Add segment parameter to target_present functions.
Diffstat (limited to 'lib/error/errseg.c')
-rw-r--r--lib/error/errseg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error/errseg.c b/lib/error/errseg.c
index 00e938947..9d115bee3 100644
--- a/lib/error/errseg.c
+++ b/lib/error/errseg.c
@@ -50,7 +50,7 @@ static int _errseg_add_target_line(struct dev_manager *dm __attribute((unused)),
return dm_tree_node_add_error_target(node, len);
}
-static int _errseg_target_present(void)
+static int _errseg_target_present(const struct lv_segment *seg __attribute((unused)))
{
static int _errseg_checked = 0;
static int _errseg_present = 0;