summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-10 00:36:50 -0400
committermidipix <writeonce@midipix.org>2016-05-14 07:18:23 -0400
commit71dc38b91f0468c8f520e91ff005330352c01d25 (patch)
treef722f057f62556927442f8e5e87108dcf5a47ffc /src/internal
parentd34088be2d0fcac4274512f7c0509ad3a873e892 (diff)
downloadntapi-71dc38b91f0468c8f520e91ff005330352c01d25.tar.bz2
ntapi-71dc38b91f0468c8f520e91ff005330352c01d25.tar.xz
debug: remove dead buffer.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi_debug.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/internal/ntapi_debug.c b/src/internal/ntapi_debug.c
index dc6c169..4d4a695 100644
--- a/src/internal/ntapi_debug.c
+++ b/src/internal/ntapi_debug.c
@@ -11,8 +11,6 @@
#include <ntapi/ntapi.h>
#include "ntapi_impl.h"
-char dbg_buf[0x1000];
-
ssize_t __cdecl __dbg_write(
__in void * hfile,
__in const void * buf,
@@ -52,7 +50,7 @@ int32_t __cdecl __dbg_fn_call(
void * image_base;
char * fn_name;
size_t bytes;
- char dbg_buf[256];
+ char dbg_buf[2048];
if (!pfn_dbg_write)
pfn_dbg_write = __dbg_write;