]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: use VIR_ERROR0 rather than VIR_ERROR with a bare "%s"
authorJim Meyering <meyering@redhat.com>
Thu, 20 May 2010 06:10:38 +0000 (08:10 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 20 May 2010 19:36:25 +0000 (21:36 +0200)
commit5910472fa5444afab2fdee9f03e040b8ab4424ef
tree1338a77184ced9df5bf827bbfa04fdaf796b5f9c
parentc80651a5ae612d28909e2d964d24492d0ae33b08
maint: use VIR_ERROR0 rather than VIR_ERROR with a bare "%s"

Change VIR_ERROR("%s", "..."
to     VIR_ERROR0("..."

and

Change VIR_ERROR("%s", _("...")
to     VIR_ERROR0(_("...")

Use this command:
  git grep -E -l 'VIR_ERROR\("%s", (_\()?"'|xargs perl -pi -e \
  's/VIR_ERROR\("%s", (_\()?"/VIR_ERROR0($1"/'
daemon/libvirtd.c
src/phyp/phyp_driver.c
src/qemu/qemu_conf.c
src/qemu/qemu_driver.c