diff options
author | Alasdair Kergon <agk@redhat.com> | 2006-08-21 12:54:53 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2006-08-21 12:54:53 +0000 |
commit | 0550c1b6184f5cb76279818958e87222ff65040f (patch) | |
tree | 78615bcda0deebaf1a089841675bb57ec437d1ac /lib/format_text/archive.c | |
parent | 9e063b223e31fccb5075e31ccdf051a91131e1be (diff) | |
download | lvm2-0550c1b6184f5cb76279818958e87222ff65040f.tar.gz |
Move lvm_snprintf into libdevmapper.
Diffstat (limited to 'lib/format_text/archive.c')
-rw-r--r-- | lib/format_text/archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format_text/archive.c b/lib/format_text/archive.c index 68cab2407..663c721f4 100644 --- a/lib/format_text/archive.c +++ b/lib/format_text/archive.c @@ -277,7 +277,7 @@ int archive_vg(struct volume_group *vg, } for (i = 0; i < 10; i++) { - if (lvm_snprintf(archive_name, sizeof(archive_name), + if (dm_snprintf(archive_name, sizeof(archive_name), "%s/%s_%05u.vg", dir, vg->name, ix) < 0) { log_error("Archive file name too long."); return 0; |