From afdf540698ad4d690a03d3951ad99eb254557ba0 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Thu, 11 Jan 2007 14:27:26 +0000 Subject: [PATCH] outputting already increased counters --- tools/cooja/examples/jni_test/level5/level5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cooja/examples/jni_test/level5/level5.c b/tools/cooja/examples/jni_test/level5/level5.c index 7acd7a956..15b3bee71 100644 --- a/tools/cooja/examples/jni_test/level5/level5.c +++ b/tools/cooja/examples/jni_test/level5/level5.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: level5.c,v 1.1 2006/08/21 12:13:10 fros4943 Exp $ + * $Id: level5.c,v 1.2 2007/01/11 14:27:26 fros4943 Exp $ */ #include @@ -41,7 +41,7 @@ int uninitialized_counter; JNIEXPORT void JNICALL Java_Level5_doCount(JNIEnv *env, jobject obj) { - fprintf(stderr, ">> DATA_counter=\t%i\tBSS_counter=\t%i\n", initialized_counter++, uninitialized_counter++); + fprintf(stderr, ">> DATA_counter=\t%i\tBSS_counter=\t%i\n", ++initialized_counter, ++uninitialized_counter); fflush(stderr); } JNIEXPORT jint JNICALL