aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/file_io.c')
-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