projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3fa6ef
)
Fix PROFILE_TIMED_FORMAT printf warning on OSX.
author
Mike McQuaid
<mike@mikemcquaid.com>
Mon, 19 Apr 2010 18:04:28 +0000
(20:04 +0200)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Sat, 4 Dec 2010 00:42:41 +0000
(
01:42
+0100)
tools/dbus-monitor.c
patch
|
blob
|
history
diff --git
a/tools/dbus-monitor.c
b/tools/dbus-monitor.c
index d20faa525032533ab753c043981247bfad31a4b9..3779368a99b53858a0c88291b4eae9bae6e25fd2 100644
(file)
--- a/
tools/dbus-monitor.c
+++ b/
tools/dbus-monitor.c
@@
-95,7
+95,11
@@
monitor_filter_func (DBusConnection *connection,
return DBUS_HANDLER_RESULT_HANDLED;
}
+#ifdef __APPLE__
+#define PROFILE_TIMED_FORMAT "%s\t%lu\t%d"
+#else
#define PROFILE_TIMED_FORMAT "%s\t%lu\t%lu"
+#endif
#define TRAP_NULL_STRING(str) ((str) ? (str) : "<none>")
typedef enum