summaryrefslogtreecommitdiffstats
path: root/tools/vgscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vgscan.c')
-rw-r--r--tools/vgscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vgscan.c b/tools/vgscan.c
index 769c5cfa..a7aef5f0 100644
--- a/tools/vgscan.c
+++ b/tools/vgscan.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
- * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
+ * Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
@@ -23,7 +23,7 @@ static int vgscan_single(struct cmd_context *cmd, const char *vg_name,
return ECMD_FAILED;
log_print("Found %svolume group \"%s\" using metadata type %s",
- (vg_status(vg) & EXPORTED_VG) ? "exported " : "", vg_name,
+ vg_is_exported(vg) ? "exported " : "", vg_name,
vg->fid->fmt->name);
check_current_backup(vg);