~ubuntu-branches/ubuntu/vivid/lvm2/vivid

« back to all changes in this revision

Viewing changes to tools/vgcfgbackup.c

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2012-05-01 20:27:50 UTC
  • mto: (3.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 72.
  • Revision ID: package-import@ubuntu.com-20120501202750-gljjjtblowwq9mw8
Tags: upstream-2.02.95
ImportĀ upstreamĀ versionĀ 2.02.95

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                return NULL;
29
29
        }
30
30
 
31
 
        if (snprintf(filename, PATH_MAX, template, vg_name) < 0) {
 
31
        if (dm_snprintf(filename, PATH_MAX, template, vg_name) < 0) {
32
32
                log_error("Error processing filename template %s",
33
33
                           template);
34
34
                dm_free(filename);