]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jfs/jfs_debug.c
[PATCH] smbfs chroot issue (CVE-2006-1864)
[linux-2.6-omap-h63xx.git] / fs / jfs / jfs_debug.c
index 4caea6b43b92a9171b508a6e243ef7cf497253e7..81f0e514c4900c8fa679b429a3709ceb6decc318 100644 (file)
@@ -111,7 +111,7 @@ static struct {
        { "loglevel",   loglevel_read, loglevel_write }
 #endif
 };
-#define NPROCENT       (sizeof(Entries)/sizeof(Entries[0]))
+#define NPROCENT       ARRAY_SIZE(Entries)
 
 void jfs_proc_init(void)
 {