changeset 692:dc1b3bd8ef54

Removed extra '\n'
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 21 Jan 2011 11:23:39 +0900
parents 78b665400097
children 16c373df0947
files tests/testloadext.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testloadext.c	Thu Jan 20 19:44:27 2011 +0900
+++ b/tests/testloadext.c	Fri Jan 21 11:23:39 2011 +0900
@@ -59,7 +59,7 @@
 	CHECK( 0, fd_rtdisp_init()  );
 	
 	/* Find all extensions which have been compiled along the test */
-	TRACE_DEBUG(INFO, "Loading from: '%s'\n", BUILD_DIR "/extensions");
+	TRACE_DEBUG(INFO, "Loading from: '%s'", BUILD_DIR "/extensions");
 	CHECK( 0, (dir = opendir (BUILD_DIR "/extensions")) == NULL ? 1 : 0 );
 	pathlen = snprintf(fullname, sizeof(fullname), BUILD_DIR "/extensions/");
 	
@@ -71,26 +71,26 @@
 			int r;
 			snprintf(fullname + pathlen, sizeof(fullname) - pathlen, "%s", dp->d_name);
 			
-			TRACE_DEBUG(INFO, "Extension: '%s'\n", dp->d_name);
+			TRACE_DEBUG(INFO, "Extension: '%s'", dp->d_name);
 			
 			/* load */
 			hdl = dlopen(fullname, RTLD_NOW | RTLD_GLOBAL);
 			if (!hdl) {
-				TRACE_DEBUG(INFO, "Unable to load '%s': %s.\n", fullname, dlerror());
+				TRACE_DEBUG(INFO, "Unable to load '%s': %s.", fullname, dlerror());
 			}
 			CHECK( 0, hdl == NULL ? 1 : 0 );
 			
 			/* resolve entry */
 			ep = dlsym( hdl, "fd_ext_init" );
 			if (!ep) {
-				TRACE_DEBUG(INFO, "No 'fd_ext_init' entry point in '%s': %s.\n", fullname, dlerror());
+				TRACE_DEBUG(INFO, "No 'fd_ext_init' entry point in '%s': %s.", fullname, dlerror());
 			}
 			CHECK( 0, ep == NULL ? 1 : 0 );
 			
 			/* Done, now unload */
 			r = dlclose(hdl);
 			if (r) {
-				TRACE_DEBUG(INFO, "Unable to dlclose '%s': %s.\n", fullname, dlerror());
+				TRACE_DEBUG(INFO, "Unable to dlclose '%s': %s.", fullname, dlerror());
 			}
 			CHECK( 0, r );
 		}
"Welcome to our mercurial repository"