aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-09-24 17:50:17 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-09-24 17:50:17 +0300
commitb3d105e69786a45963176fd2193abe75e05ba738 (patch)
tree72bd2dac209b6a0b27b4a1cb00be1829a7958cbb /src
parentAdded OpenVMS-specific information to INSTALL. (diff)
downloadxz-b3d105e69786a45963176fd2193abe75e05ba738.tar.xz
Fix an error in OpenVMS-specific code.
Thanks to Jouk Jansen.
Diffstat (limited to '')
-rw-r--r--src/xz/file_io.c2
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