Changeset 983

Show
Ignore:
Timestamp:
03/26/08 16:12:15 (13 years ago)
Author:
jwoithe
Message:

fb_nodeid_t is 16 bit and fb_nodeaddr_t is 64 bit. Correct the format strings in debug output to account for this so the correct length is reported.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libieee1394/ieee1394service.cpp

    r982 r983  
    410410        #ifdef DEBUG 
    411411        debugOutput(DEBUG_LEVEL_VERY_VERBOSE, 
    412             "read: node 0x%X, addr = 0x%016llX, length = %u\n", 
     412            "read: node 0x%hX, addr = 0x%016llX, length = %u\n", 
    413413            nodeId, addr, length); 
    414414        printBuffer( DEBUG_LEVEL_VERY_VERBOSE, length, buffer ); 
     
    418418    } else { 
    419419        #ifdef DEBUG 
    420         debugError("raw1394_read failed: node 0x%X, addr = 0x%016llX, length = %u\n", 
     420        debugError("raw1394_read failed: node 0x%hX, addr = 0x%016llX, length = %u\n", 
    421421              nodeId, addr, length); 
    422422        #endif 
     
    454454 
    455455    #ifdef DEBUG 
    456     debugOutput(DEBUG_LEVEL_VERY_VERBOSE,"write: node 0x%X, addr = 0x%016X, length = %d\n", 
     456    debugOutput(DEBUG_LEVEL_VERY_VERBOSE,"write: node 0x%hX, addr = 0x%016llX, length = %d\n", 
    457457                nodeId, addr, length); 
    458458    printBuffer( DEBUG_LEVEL_VERY_VERBOSE, length, data );