diff options
| author | Dave Wilson <[email protected]> | 2015-04-29 09:48:49 -0700 |
|---|---|---|
| committer | Dave Wilson <[email protected]> | 2015-04-29 10:47:29 -0700 |
| commit | d40232638faaab19de557e70a3ee938da7a35295 (patch) | |
| tree | 14e61c973745949af186b7940e3a53d25322f5de /general/echo/kmdf/driver/AutoSync/queue.c | |
| parent | 02e5b090a6131a7cc1b90f4a9373117c9e3c7088 (diff) | |
samples update for //build
Diffstat (limited to 'general/echo/kmdf/driver/AutoSync/queue.c')
| -rw-r--r-- | general/echo/kmdf/driver/AutoSync/queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/general/echo/kmdf/driver/AutoSync/queue.c b/general/echo/kmdf/driver/AutoSync/queue.c index cb02a965..4906e067 100644 --- a/general/echo/kmdf/driver/AutoSync/queue.c +++ b/general/echo/kmdf/driver/AutoSync/queue.c @@ -301,7 +301,7 @@ Return Value: _Analysis_assume_(Length > 0); - KdPrint(("EchoEvtIoRead Called! Queue 0x%p, Request 0x%p Length %d\n", + KdPrint(("EchoEvtIoRead Called! Queue 0x%p, Request 0x%p Length %Iu\n", Queue,Request,Length)); // // No data to read @@ -396,11 +396,11 @@ Return Value: _Analysis_assume_(Length > 0); - KdPrint(("EchoEvtIoWrite Called! Queue 0x%p, Request 0x%p Length %d\n", + KdPrint(("EchoEvtIoWrite Called! Queue 0x%p, Request 0x%p Length %Iu\n", Queue,Request,Length)); if( Length > MAX_WRITE_LENGTH ) { - KdPrint(("EchoEvtIoWrite Buffer Length to big %d, Max is %d\n", + KdPrint(("EchoEvtIoWrite Buffer Length to big %Iu, Max is %d\n", Length,MAX_WRITE_LENGTH)); WdfRequestCompleteWithInformation(Request, STATUS_BUFFER_OVERFLOW, 0L); return; @@ -425,7 +425,7 @@ Return Value: queueContext->Buffer = ExAllocatePoolWithTag(NonPagedPool, Length, 'sam1'); if( queueContext->Buffer == NULL ) { - KdPrint(("EchoEvtIoWrite: Could not allocate %d byte buffer\n", Length)); + KdPrint(("EchoEvtIoWrite: Could not allocate %Iu byte buffer\n", Length)); WdfRequestComplete(Request, STATUS_INSUFFICIENT_RESOURCES); return; } |
