g is criteria

This commit is contained in:
albert
2006-06-24 20:12:29 +00:00
parent b4b97c71bf
commit 47d33e7ed4
4 changed files with 9 additions and 7 deletions

View File

@@ -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;
}

View File

@@ -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;