===================================================================
@@ -82,7 +82,7 @@ static void ql_destroy(struct path_selec
}
static int ql_status(struct path_selector *ps, struct dm_path *path,
- status_type_t type, char *result, unsigned int maxlen)
+ status_type_t type, char *result, unsigned maxlen)
{
unsigned sz = 0;
struct path_info *pi;
@@ -95,7 +95,7 @@ static int ql_status(struct path_selecto
switch (type) {
case STATUSTYPE_INFO:
- DMEMIT("%u ", atomic_read(&pi->qlen));
+ DMEMIT("%d ", atomic_read(&pi->qlen));
break;
case STATUSTYPE_TABLE:
DMEMIT("%u ", pi->repeat_count);