chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: rename 'maintenance' state to 'failed' to avoid user confusion
[elogind.git]
/
src
/
log.c
diff --git
a/src/log.c
b/src/log.c
index d0d98ddf753ac14bc97abc7708994e1cefd2c148..21fc9f4fa091f9c40265d2f37d8d47a4cd0a80df 100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-32,7
+32,6
@@
#include "macro.h"
#define SYSLOG_TIMEOUT_USEC (5*USEC_PER_SEC)
#include "macro.h"
#define SYSLOG_TIMEOUT_USEC (5*USEC_PER_SEC)
-#define LOG_BUFFER_MAX 1024
static LogTarget log_target = LOG_TARGET_CONSOLE;
static int log_max_level = LOG_INFO;
static LogTarget log_target = LOG_TARGET_CONSOLE;
static int log_max_level = LOG_INFO;
@@
-400,7
+399,7
@@
int log_meta(
const char *func,
const char *format, ...) {
const char *func,
const char *format, ...) {
- char buffer[L
OG_BUFFER
_MAX];
+ char buffer[L
INE
_MAX];
int saved_errno, r;
va_list ap;
int saved_errno, r;
va_list ap;
@@
-427,7
+426,7
@@
void log_assert(
const char *func,
const char *format, ...) {
const char *func,
const char *format, ...) {
- static char buffer[L
OG_BUFFER
_MAX];
+ static char buffer[L
INE
_MAX];
int saved_errno = errno;
va_list ap;
int saved_errno = errno;
va_list ap;