summaryrefslogtreecommitdiffstats
path: root/ui/test/pb-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/test/pb-test.c')
-rw-r--r--ui/test/pb-test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/test/pb-test.c b/ui/test/pb-test.c
index 551c9b0..b32944f 100644
--- a/ui/test/pb-test.c
+++ b/ui/test/pb-test.c
@@ -28,11 +28,12 @@ static int print_device_add(const struct device *device,
return 0;
}
-static void print_device_remove(const char *dev_id,
+static void print_device_remove(const struct device *device,
void __attribute__((unused)) *arg)
{
printf("removed device:\n");
- printf("\tid: %s\n", dev_id);
+ printf("\tid: %s\n", device->id);
+ printf("\tname: %s\n", device->name);
}
static struct discover_client_ops client_ops = {
OpenPOWER on IntegriCloud