rem: printf("Expected what = %lx, opcode = %ld, got:",B_QUERY_UPDATE,op);
add: printf("Expected what = %x, opcode = %ld, got:", B_QUERY_UPDATE, op);
context: waitForMessage(port_id port,const char *string,int32 op,char *name){	puts(string);	int32 msg;	char buffer[1024];	ssize_t bytes = read_port_etc(port,&msg,buffer,sizeof(buffer),B_TIMEOUT,1000000);	if (op == B_TIMED_OUT && bytes == B_TIMED_OUT) {		puts("  passed, timed out!\n");		return bytes;	}	if (bytes < B_OK) {		printf("-> %s\n\n",strerror(bytes));		return bytes;	}	BMessage message;	if (message.Unflatten(buffer) < B_OK) {		printf("could not unflatten message:\n");		dumpBlock(buffer,bytes);		return B_BAD_DATA;	}	if (message.what != B_QUERY_UPDATE		|| message.FindInt32("opcode") != op) {		printf("Expected what = %lx, opcode = %ld, got:",B_QUERY_UPDATE,op);		message.PrintToStream();		putchar('\n');		return message.FindInt32("opcode");	}	puts("  passed!\n");	return op;}