X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_debug.c;h=4caea6b43b92a9171b508a6e243ef7cf497253e7;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=81f0e514c4900c8fa679b429a3709ceb6decc318;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;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) {