From f79e9df73be5ec9110b2408494fc1b6b17165230 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Mon, 15 Mar 2004 16:39:03 +0000 Subject: Add vectors for _snprintf() and _vsnprintf() (redirected straight to snprintf() and vsnprintf() in FreeBSD kernel land). This is needed by the Intel Centrino 2200BG driver. Unfortunately, this driver still doesn't work right with Project Evil even with this tweak, but I'm unable to diagnose the problem since I don't have access to a sample card. --- sys/compat/ndis/subr_ntoskrnl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/compat') diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c index cb7de097c936d..18f5662a79a93 100644 --- a/sys/compat/ndis/subr_ntoskrnl.c +++ b/sys/compat/ndis/subr_ntoskrnl.c @@ -1852,6 +1852,8 @@ image_patch_table ntoskrnl_functbl[] = { { "RtlUnicodeStringToInteger", (FUNC)ntoskrnl_unicode_to_int }, { "sprintf", (FUNC)sprintf }, { "vsprintf", (FUNC)vsprintf }, + { "_snprintf", (FUNC)snprintf }, + { "_vsnprintf", (FUNC)vsnprintf }, { "DbgPrint", (FUNC)ntoskrnl_dbgprint }, { "DbgBreakPoint", (FUNC)ntoskrnl_debugger }, { "strncmp", (FUNC)strncmp }, -- cgit v1.3