X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_debug.c;fp=fs%2Fjfs%2Fjfs_debug.c;h=4caea6b43b92a9171b508a6e243ef7cf497253e7;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=81f0e514c4900c8fa679b429a3709ceb6decc318;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/jfs/jfs_debug.c b/fs/jfs/jfs_debug.c index 81f0e514c..4caea6b43 100644 --- a/fs/jfs/jfs_debug.c +++ b/fs/jfs/jfs_debug.c @@ -111,7 +111,7 @@ static struct { { "loglevel", loglevel_read, loglevel_write } #endif }; -#define NPROCENT ARRAY_SIZE(Entries) +#define NPROCENT (sizeof(Entries)/sizeof(Entries[0])) void jfs_proc_init(void) {