g is criteria
This commit is contained in:
1 parent
b4b97c71bf
commit
47d33e7ed4
4 files changed
+9
-7
No files matched your search
+1
-1
@@ -306,7 +306,7 @@ int get_slabinfo(struct slab_info **list, struct slab_stat *stats)
|
||||
|
||||
slabfile = fopen(SLABINFO_FILE, "r");
|
||||
if (!slabfile) {
|
||||
perror("fopen");
|
||||
perror("fopen " SLABINFO_FILE);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ long smp_num_cpus; /* number of CPUs */
|
||||
"Error: /proc must be mounted\n" \
|
||||
" To mount /proc at boot you need an /etc/fstab line like:\n" \
|
||||
" /proc /proc proc defaults\n" \
|
||||
" In the meantime, mount /proc /proc -t proc\n"
|
||||
" In the meantime, run \"mount /proc /proc -t proc\"\n"
|
||||
|
||||
#define STAT_FILE "/proc/stat"
|
||||
static int stat_fd = -1;
|
||||
|
||||
Reference in new issue
Block a user