summaryrefslogtreecommitdiffstats
path: root/ui/twin
diff options
context:
space:
mode:
Diffstat (limited to 'ui/twin')
-rw-r--r--ui/twin/main-generic.c2
-rw-r--r--ui/twin/pbt-client.c8
-rw-r--r--ui/twin/pbt-scr.c4
-rw-r--r--ui/twin/pbt-scr.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/ui/twin/main-generic.c b/ui/twin/main-generic.c
index 649ad00..2301e31 100644
--- a/ui/twin/main-generic.c
+++ b/ui/twin/main-generic.c
@@ -58,7 +58,7 @@ static int edit_preferences_cb(struct pbt_item *item)
(void)client;
- pb_log("%s: TODO\n", __func__);
+ pb_debug("%s: TODO\n", __func__);
return 0;
}
diff --git a/ui/twin/pbt-client.c b/ui/twin/pbt-client.c
index dba6110..21ed524 100644
--- a/ui/twin/pbt-client.c
+++ b/ui/twin/pbt-client.c
@@ -58,7 +58,7 @@ static int pbt_client_boot(struct pbt_item *item)
int result;
struct pb_opt_data *opt_data = pbt_opt_data_from_item(item);
- pb_log("%s: %s\n", __func__, pbt_item_name(item));
+ pb_debug("%s: %s\n", __func__, pbt_item_name(item));
pbt_frame_status_printf(&item->pbt_client->frame, "Booting %s...",
pbt_item_name(item));
@@ -88,7 +88,7 @@ static int pbt_device_add(struct device *dev, struct pbt_client *client)
struct pbt_quad q;
const char *icon_file;
- pb_log("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
+ pb_debug("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
dev->n_options);
pb_protocol_dump_device(dev, "", pb_log_get_stream());
@@ -181,7 +181,7 @@ static void pbt_device_remove(struct device *dev, struct pbt_client *client)
struct pbt_item *next_item;
struct pbt_item *i;
- pb_log("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
+ pb_debug("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
dev->n_options);
pb_protocol_dump_device(dev, "", pb_log_get_stream());
@@ -245,7 +245,7 @@ static struct discover_client_ops pbt_client_ops = {
static void pbt_client_destructor(struct pbt_client *client)
{
- pb_log("%s\n", __func__);
+ pb_debug("%s\n", __func__);
// move to screen twin_x11_destroy(twin_ctx);
talloc_free(client->discover_client);
diff --git a/ui/twin/pbt-scr.c b/ui/twin/pbt-scr.c
index e093c3c..79f6792 100644
--- a/ui/twin/pbt-scr.c
+++ b/ui/twin/pbt-scr.c
@@ -361,7 +361,7 @@ static int pbt_twin_waiter_cb(struct pbt_twin_ctx *twin_ctx)
static void pbt_scr_destructor(struct pbt_scr *scr)
{
- pb_log("%s\n", __func__);
+ pb_debug("%s\n", __func__);
twin_x11_destroy(scr->twin_ctx.x11);
// FIXME: need cursor cleanup???
@@ -409,7 +409,7 @@ struct pbt_scr *pbt_scr_init(void *talloc_ctx,
goto fail_ctx_create;
}
- pb_log("%s: x11: %p\n", __func__, scr->twin_ctx.x11);
+ pb_debug("%s: x11: %p\n", __func__, scr->twin_ctx.x11);
assert(scr->twin_ctx.x11->screen);
scr->tscreen = scr->twin_ctx.x11->screen;
diff --git a/ui/twin/pbt-scr.h b/ui/twin/pbt-scr.h
index 1198a59..2880ee1 100644
--- a/ui/twin/pbt-scr.h
+++ b/ui/twin/pbt-scr.h
@@ -33,9 +33,9 @@
# include <libtwin/twin_fbdev.h>
#endif
-#define DBG(fmt, args...) pb_log("DBG: " fmt, ## args)
+#define DBG(fmt, args...) pb_debug("DBG: " fmt, ## args)
#define DBGS(fmt, args...) \
- pb_log("DBG:%s:%d: " fmt, __func__, __LINE__, ## args)
+ pb_debug("DBG:%s:%d: " fmt, __func__, __LINE__, ## args)
struct pbt_quad {
twin_coord_t x;
OpenPOWER on IntegriCloud