projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: use LIBDL/LIBC_DL to select either libdl or libc
[lttng-ust.git]
/
snprintf
/
core.c
diff --git
a/snprintf/core.c
b/snprintf/core.c
index 966b588721aaf439bfd6ecfa1b4e74a617486a4f..c017b832220b0230ed2bb9cdeb8eed51fe451286 100644
(file)
--- a/
snprintf/core.c
+++ b/
snprintf/core.c
@@
-27,6
+27,11
@@
void init_usterr(void)
char *ust_debug;
if (ust_loglevel == UST_LOGLEVEL_UNKNOWN) {
char *ust_debug;
if (ust_loglevel == UST_LOGLEVEL_UNKNOWN) {
+ /*
+ * This getenv is not part of lttng_getenv() because it
+ * is required to print ERR() performed during getenv
+ * initialization.
+ */
ust_debug = getenv("LTTNG_UST_DEBUG");
if (ust_debug)
ust_loglevel = UST_LOGLEVEL_DEBUG;
ust_debug = getenv("LTTNG_UST_DEBUG");
if (ust_debug)
ust_loglevel = UST_LOGLEVEL_DEBUG;
This page took
0.023567 seconds
and
4
git commands to generate.