[PATCH] server_ioctl_file() - Prefix printed hex values with '0x'

Alexandre Julliard julliard at winehq.org
Fri Mar 3 13:30:58 CST 2017


Chris Morgan <chmorgan at gmail.com> writes:

> Avoids the ambiguity with non-alphanumeric hex values.
>
> Signed-off-by: Chris Morgan <chmorgan at gmail.com>
> ---
>  dlls/ntdll/file.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
> index fd7f3dd..4d081b7 100644
> --- a/dlls/ntdll/file.c
> +++ b/dlls/ntdll/file.c
> @@ -1567,7 +1567,7 @@ static NTSTATUS server_ioctl_file( HANDLE handle, HANDLE event,
>      SERVER_END_REQ;
>  
>      if (status == STATUS_NOT_SUPPORTED)
> -        FIXME("Unsupported ioctl %x (device=%x access=%x func=%x method=%x)\n",
> +        FIXME("Unsupported ioctl 0x%x (device=0x%x access=0x%x func=0x%x method=0x%x)\n",

That's mostly a matter of taste, so I don't think it's necessary to
change it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list