rem: fprintf(stderr, "Couldn't spawn thread %ld\n", i);
add: fprintf(stderr, "Couldn't spawn thread %d\n", i);
context: main(int argc, char **argv){	BufferPool pool;	thread_id thread[NUM_THREADS];	if (pool.RequestBuffers(BLOCK_SIZE) == B_OK) {		for (int i = 0; i < NUM_THREADS; i++) {			thread[i] = spawn_thread(allocator, "", B_NORMAL_PRIORITY, (void *)&pool);			if (thread[i] < B_OK)				fprintf(stderr, "Couldn't spawn thread %ld\n", i);			resume_thread(thread[i]);		}		for (int32 i = 0; i < NUM_THREADS; i++) {			status_t status;			wait_for_thread(thread[i], &status);		}		pool.ReleaseBuffers();	}	return 0;}