diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-11-04 10:16:30 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-11-04 10:16:30 +0100 |
commit | 9cb91579643c106f08b1e862fcd6ffdb56bc4041 (patch) | |
tree | acc1662e2a96c12d9e91bb3a206ab9b86d894713 /monitor/control.c | |
parent | 14883d64dde384fc0d671d33c058fbdb3aa8bb11 (diff) | |
download | bluez-9cb91579643c106f08b1e862fcd6ffdb56bc4041.tar.gz |
monitor: Use global file for display settings
Diffstat (limited to 'monitor/control.c')
-rw-r--r-- | monitor/control.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor/control.c b/monitor/control.c index 638d1733e..95582a4c4 100644 --- a/monitor/control.c +++ b/monitor/control.c @@ -40,7 +40,7 @@ #include <bluetooth/mgmt.h> #include "mainloop.h" -#include "pager.h" +#include "display.h" #include "packet.h" #include "btsnoop.h" #include "control.h" @@ -779,7 +779,7 @@ void control_reader(const char *path) if (btsnoop_open(path) < 0) return; - pager_open(); + open_pager(); while (1) { if (btsnoop_read(&tv, &index, &opcode, buf, &pktlen) < 0) @@ -788,7 +788,7 @@ void control_reader(const char *path) packet_monitor(&tv, index, opcode, buf, pktlen); } - pager_close(); + close_pager(); btsnoop_close(); } |