projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: large audit of close() use in sessiond main.c
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index 81c20223d124282b59bb8ea23801cd714156f441..822dccfedfee1e5ded65db0c716522c9bd814ec8 100644
(file)
--- a/
src/common/error.h
+++ b/
src/common/error.h
@@
-75,7
+75,8
@@
extern int opt_verbose;
" [in %s() at " __FILE__ ":" XSTR(__LINE__) "]\n", ## args, __func__)
#define _PERROR(fmt, args...) \
" [in %s() at " __FILE__ ":" XSTR(__LINE__) "]\n", ## args, __func__)
#define _PERROR(fmt, args...) \
- __lttng_print(PRINT_ERR, "perror " fmt "\n", ## args)
+ __lttng_print(PRINT_ERR, "PERROR: " fmt \
+ " [in %s() at " __FILE__ ":" XSTR(__LINE__) "]\n", ## args, __func__)
#define PERROR(call, args...) \
do { \
#define PERROR(call, args...) \
do { \
This page took
0.023351 seconds
and
4
git commands to generate.