diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-09-24 17:50:17 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-09-24 17:50:17 +0300 |
commit | b3d105e69786a45963176fd2193abe75e05ba738 (patch) | |
tree | 72bd2dac209b6a0b27b4a1cb00be1829a7958cbb | |
parent | Added OpenVMS-specific information to INSTALL. (diff) | |
download | xz-b3d105e69786a45963176fd2193abe75e05ba738.tar.xz |
Fix an error in OpenVMS-specific code.
Thanks to Jouk Jansen.
-rw-r--r-- | src/xz/file_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 0b095f32..b79d0b77 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -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 |