diff options
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/slabinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/vm/slabinfo.c b/Documentation/vm/slabinfo.c index 7123fee708ca..22d7e3e4d60c 100644 --- a/Documentation/vm/slabinfo.c +++ b/Documentation/vm/slabinfo.c | |||
@@ -1123,7 +1123,7 @@ void read_slab_dir(void) | |||
1123 | char *t; | 1123 | char *t; |
1124 | int count; | 1124 | int count; |
1125 | 1125 | ||
1126 | if (chdir("/sys/kernel/slab")) | 1126 | if (chdir("/sys/kernel/slab") && chdir("/sys/slab")) |
1127 | fatal("SYSFS support for SLUB not active\n"); | 1127 | fatal("SYSFS support for SLUB not active\n"); |
1128 | 1128 | ||
1129 | dir = opendir("."); | 1129 | dir = opendir("."); |