From 00f7895d101de2703dbcea3600a68c4f653a0378 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 5 Aug 2010 11:34:08 +0200 Subject: Correct mistake in api argument names The bitmask passed to get_clients takes the number of bytes in the bitmask as argument, not the number of types, as easily assumed given the argument name. This patch changes the name to type_bytes to avoid confusion. Signed-off-by: Henrik Rydberg --- test/grail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/grail.c') diff --git a/test/grail.c b/test/grail.c index c8c57cc..f34bd6f 100644 --- a/test/grail.c +++ b/test/grail.c @@ -33,7 +33,7 @@ static grail_mask_t flag_mask[DIM_GRAIL_TYPE_BYTES]; static int tp_get_clients(struct grail *ge, struct grail_client_info *clients, int max_clients, const struct grail_coord *coords, int num_coords, - const grail_mask_t *types, int ntypes) + const grail_mask_t *types, int type_bytes) { memset(&clients[0], 0, sizeof(clients[0])); clients[0].id.client = 345; -- cgit v1.2.3