]> git.pld-linux.org Git - packages/python-tdbus.git/blob - python-tdbus-format_string.patch
new package
[packages/python-tdbus.git] / python-tdbus-format_string.patch
1 diff -dur python-tdbus-0.8.orig/lib/tdbus/_tdbus.c python-tdbus-0.8/lib/tdbus/_tdbus.c
2 --- python-tdbus-0.8.orig/lib/tdbus/_tdbus.c    2013-06-11 22:58:46.000000000 +0200
3 +++ python-tdbus-0.8/lib/tdbus/_tdbus.c 2014-02-21 15:14:57.000000000 +0100
4 @@ -34,7 +34,7 @@
5  
6  #define RETURN_DBUS_ERROR(err) \
7      do { \
8 -        if (dbus_error_is_set(&err)) RETURN_ERROR(err.message); \
9 +        if (dbus_error_is_set(&err)) RETURN_ERROR("%s", err.message); \
10          else RETURN_ERROR("unknown error"); \
11      } while (0)
12  
This page took 0.075291 seconds and 3 git commands to generate.