* src/parthelper.c: fix a superfluous % on printf format problem

raised by Matthias Bolte
Daniel
This commit is contained in:
Daniel Veillard 2009-06-26 20:14:18 +00:00
parent ecd937164f
commit 609e31dd3e
2 changed files with 6 additions and 1 deletions

View File

@ -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> Fri Jun 26 22:02:22 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/nodeinfo.c: sometimes libnuma can't handle some topologies, * src/nodeinfo.c: sometimes libnuma can't handle some topologies,

View File

@ -70,7 +70,7 @@ int main(int argc, char **argv)
/* return the geometry of the disk and then exit */ /* return the geometry of the disk and then exit */
if(cmd == DISK_GEOMETRY) { 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.cylinders, '\0',
dev->hw_geom.heads, '\0', dev->hw_geom.heads, '\0',
dev->hw_geom.sectors, '\0'); dev->hw_geom.sectors, '\0');