source:
branches/fc11-dev/server/common/patches/openafs-delta-dprintf-rename-20090427.patch
@
2577
Last change on this file since 2577 was 1139, checked in by mitchb, 15 years ago | |
---|---|
File size: 2.8 KB |
-
openafs/src/bucoord/bc.p.h
RCS file: /cvs/openafs/src/bucoord/bc.p.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9
144 144 #define BC_MAXSIMDUMPS 64 145 145 #define BC_MAXPORTS 128 /* max number of port offsets for volrestore */ 146 146 /* debugging support */ 147 #define dprintf(x)147 #define afs_dprintf(x) -
openafs/src/bucoord/ubik_db_if.c
RCS file: /cvs/openafs/src/bucoord/ubik_db_if.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18
574 574 575 575 fileSize = (afs_int32) filesize(ctPtr->textStream); 576 576 577 dprintf(("filesize is %d\n", fileSize));577 afs_dprintf(("filesize is %d\n", fileSize)); 578 578 579 579 rewind(ctPtr->textStream); 580 580 … … 1350 1350 ERROR(errno); 1351 1351 #endif 1352 1352 1353 dprintf(("file is %s\n", tmpFileName));1353 afs_dprintf(("file is %s\n", tmpFileName)); 1354 1354 1355 1355 normal_exit: 1356 1356 return code; -
openafs/src/config/debug.h
RCS file: /cvs/openafs/src/config/debug.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5
112 112 113 113 #if defined(AFS_DEBUG) 114 114 #if defined(lint) 115 #define dprintf(flag, str) printf str115 #define afs_dprintf(flag, str) printf str 116 116 #define dlprintf(flag, level, str) printf str 117 117 #define dmprintf(flag, bit, str) printf str 118 118 #else /* lint */ 119 #define dprintf(flag, str) \119 #define afs_dprintf(flag, str) \ 120 120 (void)((flag) ? \ 121 121 ( osi_dp str, osi_dp("\t%s, %d\n", __FILE__, __LINE__)):0) 122 #define dlprintf(flag, level, str) dprintf(((flag) >= (level)), str)123 #define dmprintf(flag, bit, str) dprintf(((flag)&(1<<((bit)-1))), str)122 #define dlprintf(flag, level, str) afs_dprintf(((flag) >= (level)), str) 123 #define dmprintf(flag, bit, str) afs_dprintf(((flag)&(1<<((bit)-1))), str) 124 124 125 125 #endif /* lint */ 126 126 127 127 #else /* AFS_DEBUG */ 128 128 129 #define dprintf(flag, str)129 #define afs_dprintf(flag, str) 130 130 #define dlprintf(flag, level,str) 131 131 #define dmprintf(flag, bit, str) 132 132 -
openafs/src/sgistuff/rcmd.c
RCS file: /cvs/openafs/src/sgistuff/rcmd.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2
55 55 #endif /* defined(AFS_HPUX_ENV) */ 56 56 #ifdef TCP_DEBUG 57 57 #include <sys/syslog.h> 58 # define DPRINTF(args) dprintf args59 dprintf(args)58 # define DPRINTF(args) afs_dprintf args 59 afs_dprintf(args) 60 60 char *args; 61 61 { 62 62 char **argv;
Note: See TracBrowser
for help on using the repository browser.