add a timestamp printout to upcall
This commit is contained in:
parent
e553ede209
commit
b779ab07fc
1 changed files with 3 additions and 2 deletions
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <Windows.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "upcall.h"
|
||||
#include "daemon_debug.h"
|
||||
|
|
@ -104,8 +105,8 @@ int upcall_parse(
|
|||
status = safe_read(&buffer, &length, &upcall->state_ref, sizeof(HANDLE));
|
||||
if (status) goto out;
|
||||
|
||||
dprintf(2, "version=%d xid=%d opcode=%s session=0x%x open_state=0x%x\n",
|
||||
version, upcall->xid, opcode2string(upcall->opcode), upcall->root_ref,
|
||||
dprintf(2, "time=%ld version=%d xid=%d opcode=%s session=0x%x open_state=0x%x\n",
|
||||
time(NULL), version, upcall->xid, opcode2string(upcall->opcode), upcall->root_ref,
|
||||
upcall->state_ref);
|
||||
if (version != NFS41D_VERSION) {
|
||||
eprintf("received version %d expecting version %d\n", version, NFS41D_VERSION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue