diff options
Diffstat (limited to 'src/pty')
-rw-r--r-- | src/pty/ntapi_pty_fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c index fdb9ae4..b80de2a 100644 --- a/src/pty/ntapi_pty_fd.c +++ b/src/pty/ntapi_pty_fd.c @@ -205,7 +205,7 @@ static int32_t __ntapi_pty_open_impl( guid_str = (nt_uuid_str_utf16 *) ((uintptr_t)obj_attr->obj_name->buffer + __DEVICE_PATH_PREFIX_LEN); - if (__ntapi->tt_utf16_string_to_guid(guid_str,&guid)) + if (__ntapi->tt_string_to_guid_utf16(guid_str,&guid)) return NT_STATUS_OBJECT_NAME_INVALID; /* control block */ |