rem: while (get_next_image_info(id, &cookie, &this_image) == B_OK) {
add: while ((status = get_next_image_info(id, &cookie, &imageInfo)) == B_OK) {
context: list_image_info(team_id id){	int32      cookie = 0;	team_info  this_team;	image_info this_image;		if (get_team_info(id, &this_team) == B_BAD_TEAM_ID) {		printf("\nteam %d unknown\n", id);		return;	}	printf("\nTEAM %4d (%s):\n", id, this_team.args);	printf("   ID                                                             name     text     data seq#      init#\n");	printf("--------------------------------------------------------------------------------------------------------\n");		while (get_next_image_info(id, &cookie, &this_image) == B_OK) {		printf("%5d %64s %.8x %.8x %4d %10u\n",		        this_image.id,		        this_image.name,		        this_image.text,		        this_image.data,		        this_image.sequence,		        this_image.init_order);	}}