summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sesman/chansrv/devredir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/chansrv/devredir.c b/sesman/chansrv/devredir.c
index 3be069c8..cc532d8f 100644
--- a/sesman/chansrv/devredir.c
+++ b/sesman/chansrv/devredir.c
@@ -1265,8 +1265,8 @@ dev_redir_file_write(void *fusep, tui32 DeviceId, tui32 FileId,
IRP *new_irp;
int bytes;
- log_debug("DeviceId=%d FileId=%d Length=%d Offset=%d",
- DeviceId, FileId, Length, (int)Offset);
+ log_debug("DeviceId=%d FileId=%d Length=%d Offset=%lld",
+ DeviceId, FileId, Length, (long long)Offset);
xstream_new(s, 1024 + Length);