git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug #258
[enigma2.git]
/
lib
/
base
/
eerror.cpp
diff --git
a/lib/base/eerror.cpp
b/lib/base/eerror.cpp
index 7ebac213930fd8472612c6774fa58c0855176797..35e46e05d4199d38190202573e48c601e7f509fa 100644
(file)
--- a/
lib/base/eerror.cpp
+++ b/
lib/base/eerror.cpp
@@
-1,8
+1,9
@@
#include <lib/base/eerror.h>
#include <lib/base/elock.h>
#include <lib/base/eerror.h>
#include <lib/base/elock.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdarg>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#include <unistd.h>
#include <string>
#include <unistd.h>
#include <string>
@@
-77,7
+78,7
@@
int logOutputConsole=1;
static pthread_mutex_t DebugLock =
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
static pthread_mutex_t DebugLock =
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
-extern void bsodFatal();
+extern void bsodFatal(
const char *component
);
void eFatal(const char* fmt, ...)
{
void eFatal(const char* fmt, ...)
{
@@
-91,7
+92,7
@@
void eFatal(const char* fmt, ...)
logOutput(lvlFatal, "FATAL: " + std::string(buf) + "\n");
fprintf(stderr, "FATAL: %s\n",buf );
}
logOutput(lvlFatal, "FATAL: " + std::string(buf) + "\n");
fprintf(stderr, "FATAL: %s\n",buf );
}
- bsodFatal();
+ bsodFatal(
"enigma2"
);
}
#ifdef DEBUG
}
#ifdef DEBUG