[rtems commit] tools: Fix fprintf() statement

Sebastian Huber sebh at rtems.org
Fri Jan 23 11:48:28 UTC 2015


Module:    rtems
Branch:    master
Commit:    b033e85324927cb4580b9a98004955cf5f3b3a55
Changeset: http://git.rtems.org/rtems/commit/?id=b033e85324927cb4580b9a98004955cf5f3b3a55

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jan 23 12:47:46 2015 +0100

tools: Fix fprintf() statement

Close #2240.

---

 tools/cpu/nios2/ptf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/cpu/nios2/ptf.c b/tools/cpu/nios2/ptf.c
index 1f71a1a..076c287 100644
--- a/tools/cpu/nios2/ptf.c
+++ b/tools/cpu/nios2/ptf.c
@@ -540,7 +540,7 @@ void ptf_dump_ptf_item(FILE *f, struct ptf_item *pi)
     }
     else
     {
-        fprintf(f, "  %d: NULL\n");
+        fprintf(f, "  %d: NULL\n", i);
     }
     fflush(f);
   }



More information about the vc mailing list