On some systems the SScall() debugging output is practically
useless because the parameters it prints out are static (namely
AFS_SYSCALL, AFSCALL_CALL), which doesn't help debugging.  This
patch will print out:

SScall(AFS_SYSCALL, AFSCALL_CALL, AFSCALL_OP)=RESULT

This will better-serve the debugging community.

-derek

Index: src/afsd/afsd.c
===================================================================
RCS file: /cvs/openafs/src/afsd/afsd.c,v
retrieving revision 1.19
diff -u -r1.19 afsd.c
--- src/afsd/afsd.c     2001/10/10 00:10:40     1.19
+++ src/afsd/afsd.c     2001/10/24 14:53:37
@@ -1996,7 +1996,7 @@
 #endif
 
     error = syscall(AFS_SYSCALL, AFSCALL_CALL, param1, param2, param3, param4, 
param5, param6, param7);
-    if (afsd_verbose) printf("SScall(%d, %d)=%d ", AFS_SYSCALL, AFSCALL_CALL, error);
+    if (afsd_verbose) printf("SScall(%d, %d, %d)=%d ", AFS_SYSCALL, AFSCALL_CALL, 
+param1, error);
     return (error);
 }
 #else  /* AFS_AIX32_ENV */

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [EMAIL PROTECTED]                        PGP key available
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to