projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo fix: uninitializez ->uninitialized
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index ad6113fa7494599cebcdb81b0a3bd7c2ef4956a0..e8c811ee60e34e2510d65907cac6ba94747fe332 100644
(file)
--- a/
src/common/error.h
+++ b/
src/common/error.h
@@
-58,7
+58,7
@@
extern int lttng_opt_verbose;
extern int lttng_opt_mi;
/* Error type. */
extern int lttng_opt_mi;
/* Error type. */
-enum lttng_error_
type
{
+enum lttng_error_
level
{
PRINT_ERR = 0,
PRINT_BUG = 1,
PRINT_WARN = 2,
PRINT_ERR = 0,
PRINT_BUG = 1,
PRINT_WARN = 2,
@@
-68,7
+68,7
@@
enum lttng_error_type {
PRINT_DBG3 = 6,
};
PRINT_DBG3 = 6,
};
-static inline bool __lttng_print_check_opt(enum lttng_error_
type
type)
+static inline bool __lttng_print_check_opt(enum lttng_error_
level
type)
{
/* lttng_opt_mi and lttng_opt_quiet. */
switch (type) {
{
/* lttng_opt_mi and lttng_opt_quiet. */
switch (type) {
@@
-117,7
+117,7
@@
static inline bool __lttng_print_check_opt(enum lttng_error_type type)
void lttng_abort_on_error(void);
void lttng_abort_on_error(void);
-static inline void __lttng_print_check_abort(enum lttng_error_
type
type)
+static inline void __lttng_print_check_abort(enum lttng_error_
level
type)
{
switch (type) {
case PRINT_DBG3:
{
switch (type) {
case PRINT_DBG3:
@@
-198,7
+198,7
@@
static inline void __lttng_print_check_abort(enum lttng_error_type type)
#define _PERROR(fmt, args...) _ERRMSG("PERROR", PRINT_ERR, fmt, ## args)
#define _PERROR(fmt, args...) _ERRMSG("PERROR", PRINT_ERR, fmt, ## args)
-#if !defined(__
linux
__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE))
+#if !defined(__
GLIBC
__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE))
/*
* Version using XSI strerror_r.
/*
* Version using XSI strerror_r.
This page took
0.024037 seconds
and
4
git commands to generate.