diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-03-15 16:39:03 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-03-15 16:39:03 +0000 |
commit | 5aa1390e6194fb0a1bbed52f0468cec21e7c2dab (patch) | |
tree | 7e8b443425b0a3188a3f6e19c4b8916bb795a5ed | |
parent | 4169d56a678bccd52122679f6654268c9a0b225a (diff) | |
download | FreeBSD-src-5aa1390e6194fb0a1bbed52f0468cec21e7c2dab.zip FreeBSD-src-5aa1390e6194fb0a1bbed52f0468cec21e7c2dab.tar.gz |
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.
-rw-r--r-- | sys/compat/ndis/subr_ntoskrnl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c index cb7de09..18f5662 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 }, |