Cygwin: AF_UNIX: use get_unique_id to create pipe name

It's the same as get_plain_ino in this case, but it's cleaner
and easier to understand.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-03-11 14:54:20 +01:00
parent 4f1ee1a3e7
commit de29476ed5
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ fhandler_socket_unix::gen_pipe_name ()
__small_swprintf (pipe_name_buf, L"cygwin-%S-unix-%C-%016_X",
&cygheap->installation_key,
get_type_char (),
get_plain_ino ());
get_unique_id ());
RtlInitUnicodeString (&pipe_name, pipe_name_buf);
pc.set_nt_native_path (&pipe_name);
}