diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-08-05 11:34:08 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-05 22:48:38 +0200 |
| commit | 00f7895d101de2703dbcea3600a68c4f653a0378 (patch) | |
| tree | e049b7f9f6754c34cac702f72bd561aeea9c71c1 /test/grail.c | |
| parent | d7d89e2afae9151f4d16aa71a99eedbf920ecc1a (diff) | |
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 <rydberg@bitmath.org>
Diffstat (limited to 'test/grail.c')
| -rw-r--r-- | test/grail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; | |||
| 33 | static int tp_get_clients(struct grail *ge, | 33 | static int tp_get_clients(struct grail *ge, |
| 34 | struct grail_client_info *clients, int max_clients, | 34 | struct grail_client_info *clients, int max_clients, |
| 35 | const struct grail_coord *coords, int num_coords, | 35 | const struct grail_coord *coords, int num_coords, |
| 36 | const grail_mask_t *types, int ntypes) | 36 | const grail_mask_t *types, int type_bytes) |
| 37 | { | 37 | { |
| 38 | memset(&clients[0], 0, sizeof(clients[0])); | 38 | memset(&clients[0], 0, sizeof(clients[0])); |
| 39 | clients[0].id.client = 345; | 39 | clients[0].id.client = 345; |
