From: Peter C. <pc...@us...> - 2010-02-09 02:52:59
|
Update of /cvsroot/ipbench/ipbench2/src/tests/nfs_latency/libnfs In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27701/src/tests/nfs_latency/libnfs Modified Files: callback.c mount.c Log Message: xGet rid of yet more ad-hoc debugging. Index: mount.c =================================================================== RCS file: /cvsroot/ipbench/ipbench2/src/tests/nfs_latency/libnfs/mount.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mount.c 9 Feb 2010 01:04:25 -0000 1.3 --- mount.c 9 Feb 2010 02:52:50 -0000 1.4 *************** *** 58,62 **** } ! printf("mnt_init(): connecting to port %d\n", port); s.sin_port = htons(port); --- 58,62 ---- } ! dbprintf("mnt_init(): connecting to port %d\n", port); s.sin_port = htons(port); Index: callback.c =================================================================== RCS file: /cvsroot/ipbench/ipbench2/src/tests/nfs_latency/libnfs/callback.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** callback.c 14 Sep 2005 00:47:09 -0000 1.2 --- callback.c 9 Feb 2010 02:52:48 -0000 1.3 *************** *** 7,10 **** --- 7,11 ---- #include <inttypes.h> + #include "lib/util.h" #include "rpc.h" #include "callback.h" *************** *** 45,49 **** if(last_xid>0){ if(xid != (last_xid+1)){ ! printf("xid=%d, last_xid=%d\n", xid, last_xid); assert(xid > last_xid); } --- 46,50 ---- if(last_xid>0){ if(xid != (last_xid+1)){ ! dbprintf("xid=%d, last_xid=%d\n", xid, last_xid); assert(xid > last_xid); } |