From: Daniel Veillard Date: Fri, 26 Jun 2009 20:14:18 +0000 (+0000) Subject: * src/parthelper.c: fix a superfluous % on printf format problem X-Git-Tag: LIBVIRT_0_6_5~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=609e31dd3e0b331ed7708226b1998e288c0725df;p=thirdparty%2Flibvirt.git * src/parthelper.c: fix a superfluous % on printf format problem raised by Matthias Bolte Daniel --- diff --git a/ChangeLog b/ChangeLog index 6c39f349cf..784e274e5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 26 22:13:16 CEST 2009 Daniel Veillard + + * src/parthelper.c: fix a superfluous % on printf format problem + raised by Matthias Bolte + Fri Jun 26 22:02:22 CEST 2009 Daniel Veillard * src/nodeinfo.c: sometimes libnuma can't handle some topologies, diff --git a/src/parthelper.c b/src/parthelper.c index ff5a1b6c21..f456cccb89 100644 --- a/src/parthelper.c +++ b/src/parthelper.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) /* return the geometry of the disk and then exit */ if(cmd == DISK_GEOMETRY) { - printf("%d%c%d%c%d%c%", + printf("%d%c%d%c%d%c", dev->hw_geom.cylinders, '\0', dev->hw_geom.heads, '\0', dev->hw_geom.sectors, '\0');