aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/jfs_debug.c')
-rw-r--r--fs/jfs/jfs_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_debug.c b/fs/jfs/jfs_debug.c
index 4caea6b43b92..81f0e514c490 100644
--- a/fs/jfs/jfs_debug.c
+++ b/fs/jfs/jfs_debug.c
@@ -111,7 +111,7 @@ static struct {
111 { "loglevel", loglevel_read, loglevel_write } 111 { "loglevel", loglevel_read, loglevel_write }
112#endif 112#endif
113}; 113};
114#define NPROCENT (sizeof(Entries)/sizeof(Entries[0])) 114#define NPROCENT ARRAY_SIZE(Entries)
115 115
116void jfs_proc_init(void) 116void jfs_proc_init(void)
117{ 117{