Merge pull request #1084 from crrodriguez/master

misc bugfixes
This commit is contained in:
Daniel Mack
2015-08-31 08:46:48 +02:00
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -34,6 +34,7 @@
#include "log.h"
#ifdef HAVE_SELINUX
_printf_(2,3)
static int null_log(int type, const char *fmt, ...) {
return 0;
}
+1 -1
View File
@@ -932,7 +932,7 @@ fail:
}
char *bus_match_to_string(struct bus_match_component *components, unsigned n_components) {
_cleanup_free_ FILE *f = NULL;
_cleanup_fclose_ FILE *f = NULL;
char *buffer = NULL;
size_t size = 0;
unsigned i;
+1
View File
@@ -1092,6 +1092,7 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro
}
#ifdef HAVE_XKBCOMMON
_printf_(3, 0)
static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char *format, va_list args) {
const char *fmt;