Use the correct format specifiers for wide characters and strings of wide
characters. MFC after: 1 week
This commit is contained in:
parent
61f78dd779
commit
28af9281f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264486
@ -694,8 +694,13 @@ static const dt_pfconv_t _dtrace_conversions[] = {
|
||||
{ "S", "s", pfproto_cstr, pfcheck_str, pfprint_estr },
|
||||
{ "T", "s", "int64_t", pfcheck_time, pfprint_time822 },
|
||||
{ "u", "u", pfproto_xint, pfcheck_xint, pfprint_uint },
|
||||
#if defined(sun)
|
||||
{ "wc", "wc", "int", pfcheck_type, pfprint_sint }, /* a.k.a. wchar_t */
|
||||
{ "ws", "ws", pfproto_wstr, pfcheck_wstr, pfprint_wstr },
|
||||
#else
|
||||
{ "wc", "lc", "int", pfcheck_type, pfprint_sint }, /* a.k.a. wchar_t */
|
||||
{ "ws", "ls", pfproto_wstr, pfcheck_wstr, pfprint_wstr },
|
||||
#endif
|
||||
{ "x", "x", pfproto_xint, pfcheck_xint, pfprint_uint },
|
||||
{ "X", "X", pfproto_xint, pfcheck_xint, pfprint_uint },
|
||||
{ "Y", "s", "int64_t", pfcheck_time, pfprint_time },
|
||||
|
Loading…
Reference in New Issue
Block a user