diff options
author | Alasdair Kergon <agk@redhat.com> | 2004-03-26 21:49:57 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2004-03-26 21:49:57 +0000 |
commit | a78374ae0dec887abbf3ad69043356aed258a271 (patch) | |
tree | 52e8d664d1e7386a633cc45030fa16b91bb07bf9 /tools/lvchange.c | |
parent | 120943341ce1e1ae9531a3c1b76b4747f16570a7 (diff) | |
download | lvm2-a78374ae0dec887abbf3ad69043356aed258a271.tar.gz lvm2-a78374ae0dec887abbf3ad69043356aed258a271.tar.xz lvm2-a78374ae0dec887abbf3ad69043356aed258a271.zip |
and another typo
Diffstat (limited to 'tools/lvchange.c')
-rw-r--r-- | tools/lvchange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvchange.c b/tools/lvchange.c index 4931014e..5f2c1b2e 100644 --- a/tools/lvchange.c +++ b/tools/lvchange.c @@ -109,7 +109,7 @@ static int lvchange_refresh(struct cmd_context *cmd, struct logical_volume *lv) { log_verbose("Refreshing logical volume \"%s\" (if active)", lv->name); if (!lock_vol(cmd, lv->lvid.s, LCK_LV_SUSPEND | LCK_HOLD) || - !unlock_vol(cmd, lv->lvid.s)) + !unlock_lv(cmd, lv->lvid.s)) return 0; return 1; |