]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] silence warning due to incorrect assert
authorEvan Hunt <each@isc.org>
Wed, 27 Feb 2013 21:52:30 +0000 (13:52 -0800)
committerEvan Hunt <each@isc.org>
Wed, 27 Feb 2013 21:52:30 +0000 (13:52 -0800)
lib/isc/unix/file.c

index e30f85134e5653338f4200044832b8c524a1ff36..0e9a9a106eeded98aeeef69bd904dd2d71eb1585 100644 (file)
@@ -168,7 +168,7 @@ isc_file_getsize(const char *file, off_t *size) {
        struct stat stats;
 
        REQUIRE(file != NULL);
-       REQUIRE(time != NULL);
+       REQUIRE(size != NULL);
 
        result = file_stats(file, &stats);