From b3d105e69786a45963176fd2193abe75e05ba738 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 24 Sep 2009 17:50:17 +0300 Subject: [PATCH] Fix an error in OpenVMS-specific code. Thanks to Jouk Jansen. --- src/xz/file_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 0b095f3..b79d0b7 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 -- 2.7.4