From 0dbb29fa2339d1a58bcf04337e3d443765a461dd Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Thu, 23 Sep 2004 12:43:49 +0000 Subject: [PATCH] small fix to OskitDumpBuffer() - each line should display the address of it's first byte, not the address of the beginning of the dump... svn path=/trunk/; revision=10998 --- reactos/drivers/lib/oskittcp/oskittcp/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/lib/oskittcp/oskittcp/interface.c b/reactos/drivers/lib/oskittcp/oskittcp/interface.c index f422f90b556..e8d074aa81b 100644 --- a/reactos/drivers/lib/oskittcp/oskittcp/interface.c +++ b/reactos/drivers/lib/oskittcp/oskittcp/interface.c @@ -92,7 +92,7 @@ void OskitDumpBuffer( OSK_PCHAR Data, OSK_UINT Len ) if ( !align ) { if ( i ) DbgPrint( line ); - snprintf ( line, sizeof(line)-1, "%08x: \n", Data ); + snprintf ( line, sizeof(line)-1, "%08x: \n", &Data[i] ); line[sizeof(line)-1] = '\0'; }