Navigation


Changeset 692:dc1b3bd8ef54 in freeDiameter


Ignore:
Timestamp:
Jan 21, 2011, 11:23:39 AM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Removed extra '\n'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/testloadext.c

    r676 r692  
    6060       
    6161        /* Find all extensions which have been compiled along the test */
    62         TRACE_DEBUG(INFO, "Loading from: '%s'\n", BUILD_DIR "/extensions");
     62        TRACE_DEBUG(INFO, "Loading from: '%s'", BUILD_DIR "/extensions");
    6363        CHECK( 0, (dir = opendir (BUILD_DIR "/extensions")) == NULL ? 1 : 0 );
    6464        pathlen = snprintf(fullname, sizeof(fullname), BUILD_DIR "/extensions/");
     
    7272                        snprintf(fullname + pathlen, sizeof(fullname) - pathlen, "%s", dp->d_name);
    7373                       
    74                         TRACE_DEBUG(INFO, "Extension: '%s'\n", dp->d_name);
     74                        TRACE_DEBUG(INFO, "Extension: '%s'", dp->d_name);
    7575                       
    7676                        /* load */
    7777                        hdl = dlopen(fullname, RTLD_NOW | RTLD_GLOBAL);
    7878                        if (!hdl) {
    79                                 TRACE_DEBUG(INFO, "Unable to load '%s': %s.\n", fullname, dlerror());
     79                                TRACE_DEBUG(INFO, "Unable to load '%s': %s.", fullname, dlerror());
    8080                        }
    8181                        CHECK( 0, hdl == NULL ? 1 : 0 );
     
    8484                        ep = dlsym( hdl, "fd_ext_init" );
    8585                        if (!ep) {
    86                                 TRACE_DEBUG(INFO, "No 'fd_ext_init' entry point in '%s': %s.\n", fullname, dlerror());
     86                                TRACE_DEBUG(INFO, "No 'fd_ext_init' entry point in '%s': %s.", fullname, dlerror());
    8787                        }
    8888                        CHECK( 0, ep == NULL ? 1 : 0 );
     
    9191                        r = dlclose(hdl);
    9292                        if (r) {
    93                                 TRACE_DEBUG(INFO, "Unable to dlclose '%s': %s.\n", fullname, dlerror());
     93                                TRACE_DEBUG(INFO, "Unable to dlclose '%s': %s.", fullname, dlerror());
    9494                        }
    9595                        CHECK( 0, r );
Note: See TracChangeset for help on using the changeset viewer.