libvirt/daemon
Matthias Bolte c565b67a6a Fix compilation with systemtap 1.3
Version 1.3 of <sys/sdt.h> uses this macro

  #define STAP_CAST(t) (size_t)t

that breaks like this if t is a function

  remote.c:1775: error: cast from function call of type 'const char *'
  to non-matching type 'long unsigned int' [-Wbad-function-cast]

For that to work it should probably look like this

  #define STAP_CAST(t) ((size_t)(t))

In systemtap 1.4 this was completely rewritten.

Anyway, before commit df0b57a95a t was always a variable, but now
also a function is used here, namely virNetSASLSessionGetIdentity.

Use an intermediate variable to avoid this problem.
2011-06-29 01:53:44 +02:00
..
.gitignore
libvirtd.aug
libvirtd.c daemon: Fix build without polkit 2011-06-28 21:09:05 +02:00
libvirtd.conf
libvirtd.h Convert libvirtd over to the new RPC handling APIs 2011-06-28 17:33:19 +01:00
libvirtd.init.in
libvirtd.logrotate.in
libvirtd.lxc.logrotate.in
libvirtd.pod.in
libvirtd.policy-0
libvirtd.policy-1
libvirtd.qemu.logrotate.in
libvirtd.sasl
libvirtd.stp Include socket address in client probe data 2010-10-22 12:00:45 +01:00
libvirtd.sysconf
libvirtd.uml.logrotate.in
libvirtd.upstart
Makefile.am Convert libvirtd over to the new RPC handling APIs 2011-06-28 17:33:19 +01:00
probes.d
remote.c Fix compilation with systemtap 1.3 2011-06-29 01:53:44 +02:00
remote.h Convert libvirtd over to the new RPC handling APIs 2011-06-28 17:33:19 +01:00
stream.c Convert libvirtd over to the new RPC handling APIs 2011-06-28 17:33:19 +01:00
stream.h Convert libvirtd over to the new RPC handling APIs 2011-06-28 17:33:19 +01:00
test_libvirtd.aug
THREADS.txt maint: use consistent file name for threading notes 2011-05-31 13:54:45 -06:00