Whamcloud - gitweb
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 3b44015..4ab4ec3 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 */