g is criteria
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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