bankd_slotmap: Fix debug statements
Change-Id: Ia383c851f16967893e3ed50acd18199d848bd1b3
This commit is contained in:
parent
5d16b1c865
commit
1266952242
|
@ -80,7 +80,7 @@ int bankd_slotmap_add(struct bankd *bankd, const struct bank_slot *bank, const s
|
|||
llist_add_tail(&map->list, &bankd->slot_mappings);
|
||||
pthread_rwlock_unlock(&bankd->slot_mappings_rwlock);
|
||||
|
||||
printf("Added Slot Map B(%u:%u) <-> C(%u:%u)\n",
|
||||
printf("Added Slot Map C(%u:%u) <-> B(%u:%u)\n",
|
||||
map->client.client_id, map->client.slot_nr, map->bank.bank_id, map->bank.slot_nr);
|
||||
|
||||
return 0;
|
||||
|
@ -89,7 +89,7 @@ int bankd_slotmap_add(struct bankd *bankd, const struct bank_slot *bank, const s
|
|||
/* thread-safe removal of a bank<->client map */
|
||||
void bankd_slotmap_del(struct bankd *bankd, struct bankd_slot_mapping *map)
|
||||
{
|
||||
printf("Deleting Slot Map B(%u:%u) <-> C(%u:%u)\n",
|
||||
printf("Deleting Slot Map C(%u:%u) <-> B(%u:%u)\n",
|
||||
map->client.client_id, map->client.slot_nr, map->bank.bank_id, map->bank.slot_nr);
|
||||
|
||||
pthread_rwlock_wrlock(&bankd->slot_mappings_rwlock);
|
||||
|
|
Loading…
Reference in New Issue