1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
This commit is contained in:
Alasdair Kergon 2009-07-28 20:41:41 +00:00
parent b0928986bf
commit 8762493eb8

View File

@ -3046,7 +3046,7 @@ int pv_analyze(struct cmd_context *cmd, const char *pv_name,
int vg_check_write_mode(vg_t *vg)
{
if (vg->open_mode != 'w') {
log_errno(EPERM, "Attempt to modify a read-only VG\n");
log_errno(EPERM, "Attempt to modify a read-only VG");
return 0;
}
return 1;