From: Michihiro NAKAJIMA Date: Tue, 22 Dec 2009 04:35:59 +0000 (-0500) Subject: Fix comparison of ino. X-Git-Tag: v2.8.0~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2b69d264992fe24e8640b241e54e2e52219242;p=thirdparty%2Flibarchive.git Fix comparison of ino. SVN-Revision: 1773 --- diff --git a/cpio/test/test_option_c.c b/cpio/test/test_option_c.c index 6b91547b4..241bcf67b 100644 --- a/cpio/test/test_option_c.c +++ b/cpio/test/test_option_c.c @@ -146,7 +146,7 @@ DEFINE_TEST(test_option_c) assert(is_octal(e, 76)); /* Entire header is octal digits. */ assertEqualMem(e + 0, "070707", 6); /* Magic */ assertEqualInt(dev, from_octal(e + 6, 6)); /* dev */ - assert(dev != from_octal(e + 12, 6)); /* ino */ + assert(ino != from_octal(e + 12, 6)); /* ino */ #if !defined(_WIN32) || defined(__CYGWIN__) /* On Windows, symbolic link and group members bits and * others bits do not work. */