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');