]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/parthelper.c: fix a superfluous % on printf format problem
authorDaniel Veillard <veillard@redhat.com>
Fri, 26 Jun 2009 20:14:18 +0000 (20:14 +0000)
committerDaniel Veillard <veillard@redhat.com>
Fri, 26 Jun 2009 20:14:18 +0000 (20:14 +0000)
  raised by Matthias Bolte
Daniel

ChangeLog
src/parthelper.c

index 6c39f349cf666e9700a4a5d52fce76d67f7ebbdf..784e274e5c8bb0e15ad349d4e0ae22dc590975c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jun 26 22:13:16 CEST 2009 Daniel Veillard <veillard@redhat.com>
+
+       * src/parthelper.c: fix a superfluous % on printf format problem
+         raised by Matthias Bolte
+
 Fri Jun 26 22:02:22 CEST 2009 Daniel Veillard <veillard@redhat.com>
 
        * src/nodeinfo.c: sometimes libnuma can't handle some topologies,
index ff5a1b6c21321a6514e94a36767b7616908bb5ba..f456cccb891102e5863693e92c20ce8fe9ce6784 100644 (file)
@@ -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');