summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:16 -0700
committerPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:16 -0700
commit77b380c0b5b6eb4f074a4a8735d109e226512508 (patch)
tree83866e48c2b31ab9f3cc811a2e3b418119eaa243 /sesman/chansrv
parentb1527b7947b867a8dc6dd22bda9147713c10620b (diff)
downloadxrdp-proprietary-77b380c0b5b6eb4f074a4a8735d109e226512508.tar.gz
xrdp-proprietary-77b380c0b5b6eb4f074a4a8735d109e226512508.zip
Fix format warnings in log_message() calls
Diffstat (limited to 'sesman/chansrv')
-rw-r--r--sesman/chansrv/chansrv.c3
-rw-r--r--sesman/chansrv/clipboard.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
index e3d2f5d2..95224e9c 100644
--- a/sesman/chansrv/chansrv.c
+++ b/sesman/chansrv/chansrv.c
@@ -734,8 +734,7 @@ process_message(void)
rv = process_message_channel_data_response(s);
break;
default:
- LOGM((LOG_LEVEL_ERROR, "process_message: error in process_message ",
- "unknown msg %d", id));
+ LOGM((LOG_LEVEL_ERROR, "process_message: unknown msg %d", id));
break;
}
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index 5f01f241..cf98b5f2 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -1920,7 +1920,8 @@ clipboard_event_selection_notify(XEvent *xevent)
for (index = 0; index < n_items; index++)
{
atom = atoms[index];
- LOGM((LOG_LEVEL_DEBUG, "clipboard_event_selection_notify: %d %s %d",
+ LOGM((LOG_LEVEL_DEBUG,
+ "clipboard_event_selection_notify: 0x%lx %s 0x%lx",
atom, get_atom_text(atom), XA_STRING));
log_debug("clipboard_event_selection_notify: 0x%lx %s",
atom, get_atom_text(atom));