1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Fix an error in OpenVMS-specific code.

Thanks to Jouk Jansen.
This commit is contained in:
Lasse Collin 2009-09-24 17:50:17 +03:00
parent 5e000ff00d
commit b3d105e697

View file

@ -83,7 +83,7 @@ io_unlink(const char *name, const struct stat *known_st)
# ifdef __VMS
// st_ino is an array, and we don't want to
// compare st_dev at all.
|| memcmp(&new_st.st_ino, &known_st.st_ino,
|| memcmp(&new_st.st_ino, &known_st->st_ino,
sizeof(new_st.st_ino)) != 0
# else
// Typical POSIX-like system