[llvm-commits] CVS: llvm/test/Programs/SingleSource/Regression/C/callargs.c
Chris Lattner
lattner at cs.uiuc.edu
Mon Jul 12 12:38:01 PDT 2004
Changes in directory llvm/test/Programs/SingleSource/Regression/C:
callargs.c updated: 1.1 -> 1.2
---
Log message:
Fix bogus printf formats. Patch contributed by Vladimir Prus
---
Diffs of the changes: (+6 -6)
Index: llvm/test/Programs/SingleSource/Regression/C/callargs.c
diff -u llvm/test/Programs/SingleSource/Regression/C/callargs.c:1.1 llvm/test/Programs/SingleSource/Regression/C/callargs.c:1.2
--- llvm/test/Programs/SingleSource/Regression/C/callargs.c:1.1 Wed Jul 10 16:54:03 2002
+++ llvm/test/Programs/SingleSource/Regression/C/callargs.c Mon Jul 12 12:37:14 2004
@@ -79,9 +79,9 @@
a15 = va_arg(ap, char*);
printf("\nprintVarArgs with 15 arguments:\n");
- printf("\tArgs 1-5 : %d %f %c %lf %c\n", a1, a2, a3, a4, *a5);
- printf("\tArgs 6-10 : %d %f %c %lf %c\n", a6, a7, a8, a9, *a10);
- printf("\tArgs 11-14: %d %f %c %lf %c\n", a11, a12, a13, a14, *a15);
+ printf("\tArgs 1-5 : %d %f %c %f %c\n", a1, a2, a3, a4, *a5);
+ printf("\tArgs 6-10 : %d %f %c %f %c\n", a6, a7, a8, a9, *a10);
+ printf("\tArgs 11-14: %d %f %c %f %c\n", a11, a12, a13, a14, *a15);
printf("\n");
return;
}
@@ -94,9 +94,9 @@
int a11, float a12, char a13, double a14, char* a15)
{
printf("\nprintArgsNoRet with 15 arguments:\n");
- printf("\tArgs 1-5 : %d %f %c %lf %c\n", a1, a2, a3, a4, *a5);
- printf("\tArgs 6-10 : %d %f %c %lf %c\n", a6, a7, a8, a9, *a10);
- printf("\tArgs 11-14: %d %f %c %lf %c\n", a11, a12, a13, a14, *a15);
+ printf("\tArgs 1-5 : %d %f %c %f %c\n", a1, a2, a3, a4, *a5);
+ printf("\tArgs 6-10 : %d %f %c %f %c\n", a6, a7, a8, a9, *a10);
+ printf("\tArgs 11-14: %d %f %c %f %c\n", a11, a12, a13, a14, *a15);
printf("\n");
return;
}
More information about the llvm-commits
mailing list