From 609e31dd3e0b331ed7708226b1998e288c0725df Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 26 Jun 2009 20:14:18 +0000 Subject: [PATCH] * src/parthelper.c: fix a superfluous % on printf format problem raised by Matthias Bolte Daniel --- ChangeLog | 5 +++++ src/parthelper.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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'); -- GitLab