changeset 9908:09c23be3b54d

8038754: ReplayCacheTestProc test fails with timeout Summary: Fixed problem in TRACE macros. Reviewed-by: alanb
author valeriep
date Tue, 19 Aug 2014 22:13:25 +0000
parents 2b546fae4cd9
children 463d6f9442f7
files src/share/native/sun/security/jgss/wrapper/NativeUtil.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/security/jgss/wrapper/NativeUtil.h	Tue Aug 19 22:12:15 2014 +0000
+++ b/src/share/native/sun/security/jgss/wrapper/NativeUtil.h	Tue Aug 19 22:13:25 2014 +0000
@@ -86,9 +86,9 @@
   extern jfieldID FID_NativeGSSContext_lifetime;
   extern jfieldID FID_NativeGSSContext_actualMech;
   #define TRACE0(s) { if (JGSS_DEBUG) { puts(s); fflush(stdout); }}
-  #define TRACE1(s, p1) { if (JGSS_DEBUG) { printf(s, p1); fflush(stdout); }}
-  #define TRACE2(s, p1, p2) { if (JGSS_DEBUG) { printf(s, p1, p2); fflush(stdout); }}
-  #define TRACE3(s, p1, p2, p3) { if (JGSS_DEBUG) { printf(s, p1, p2, p3); fflush(stdout); }}
+  #define TRACE1(s, p1) { if (JGSS_DEBUG) { printf(s"\n", p1); fflush(stdout); }}
+  #define TRACE2(s, p1, p2) { if (JGSS_DEBUG) { printf(s"\n", p1, p2); fflush(stdout); }}
+  #define TRACE3(s, p1, p2, p3) { if (JGSS_DEBUG) { printf(s"\n", p1, p2, p3); fflush(stdout); }}
 
 
 #ifdef __cplusplus