]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
misc/mke2fs.c: Minor fix for new page size checking code.
authorAndreas Dilger <adilger@clusterfs.com>
Sat, 18 May 2002 19:27:33 +0000 (13:27 -0600)
committerAndreas Dilger <adilger@clusterfs.com>
Sat, 18 May 2002 19:27:33 +0000 (13:27 -0600)
misc/mke2fs.c

index 3b4401516296377ea08a61651b87158373f786be..4ab4ec317bebe667dadf0253fe8b4a8f956456f9 100644 (file)
@@ -829,7 +829,7 @@ static void PRS(int argc, char *argv[])
 #endif
 #ifdef _SC_PAGESIZE
        sysval = sysconf(_SC_PAGESIZE);
-       if (sysconf > 0)
+       if (sysval > 0)
                sys_page_size = sysval;
 #endif /* _SC_PAGESIZE */
 #endif /* HAVE_SYSCONF */