rem: curr->objs_per_slab, curr->cache_size / 1024,
add: curr->objs_per_slab, (unsigned)(curr->cache_size / 1024),
context: int main(int argc, char *argv[]){	int o;	unsigned short old_rows;	struct slab_info *slab_list = NULL;	struct option longopts[] = {		{ "delay",	1, NULL, 'd' },		{ "sort",	1, NULL, 's' },		{ "once",	0, NULL, 'o' },		{ "help",	0, NULL, 'h' },		{ "version",	0, NULL, 'V' },		{  NULL,	0, NULL, 0 }	};	sort_func = DEF_SORT_FUNC;	while ((o = getopt_long(argc, argv, "d:s:ohV", longopts, NULL)) != -1) {		int ret = 1;		switch (o) {		case 'd':			errno = 0;			delay = strtol(optarg, NULL, 10);			if (errno) {				perror("strtoul");				return 1;			}			if (delay < 0) {				fprintf(stderr, "error: can't have a "\					"negative delay\n");				exit(1);			}			break;		case 's':			sort_func = set_sort_func(optarg[0]);			break;		case 'o':			delay = 0;			break;		case 'V':			display_version();			return 0;		case 'h':			ret = 0;		default:			usage(argv[0]);			return ret;		}	}	if (tcgetattr(0, &saved_tty) == -1)		perror("tcgetattr");	initscr();	term_size(0);	old_rows = rows;	resizeterm(rows, cols);	signal(SIGWINCH, term_size);	signal(SIGINT, sigint_handler);	do {		struct slab_info *curr;		struct slab_stat stats = SLAB_STAT_ZERO;		struct timeval tv;		fd_set readfds;		char c;		int i;		if (get_slabinfo(&slab_list, &stats))			break;		if (old_rows != rows) {			resizeterm(rows, cols);			old_rows = rows;		}		move(0,0);		printw(	" Active / Total Objects (%% used)    : "				"%d / %d (%.1f%%)\n"			" Active / Total Slabs (%% used)      : "				"%d / %d (%.1f%%)\n"			" Active / Total Caches (%% used)     : "				"%d / %d (%.1f%%)\n"			" Active / Total Size (%% used)       : "				"%.2fK / %.2fK (%.1f%%)\n"			" Minimum / Average / Maximum Object : "				"%.2fK / %.2fK / %.2fK\n\n",			stats.nr_active_objs, stats.nr_objs,			100.0 * stats.nr_active_objs / stats.nr_objs,			stats.nr_active_slabs, stats.nr_slabs,			100.0 * stats.nr_active_slabs / stats.nr_slabs,			stats.nr_active_caches, stats.nr_caches,			100.0 * stats.nr_active_caches / stats.nr_caches,			stats.active_size / 1024.0, stats.total_size / 1024.0,			100.0 * stats.active_size / stats.total_size,			stats.min_obj_size / 1024.0,			stats.avg_obj_size / 1024.0,			stats.max_obj_size / 1024.0);		slab_list = slabsort(slab_list);		attron(A_REVERSE);		printw(	"%6s %6s %4s %8s %6s %8s %10s %-23s\n",			"OBJS", "ACTIVE", "USE", "OBJ SIZE", "SLABS",			"OBJ/SLAB", "CACHE SIZE", "NAME");		attroff(A_REVERSE);		curr = slab_list;		for (i = 0; i < rows - 8 && curr->next; i++) {			printw("%6d %6d %3d%% %7.2fK %6d %8d %9dK %-23s\n",				curr->nr_objs, curr->nr_active_objs, curr->use,				curr->obj_size / 1024.0, curr->nr_slabs,				curr->objs_per_slab, curr->cache_size / 1024,				curr->name);			curr = curr->next;		}		refresh();		put_slabinfo(slab_list);		FD_ZERO(&readfds);		FD_SET(0, &readfds);		tv.tv_sec = delay;		tv.tv_usec = 0;		if (select(1, &readfds, NULL, NULL, &tv) > 0) {			if (read(0, &c, 1) != 1)				break;			parse_input(c);		}	} while (delay);	tcsetattr(0, TCSAFLUSH, &saved_tty);	free_slabinfo(slab_list);	endwin();	return 0;}