A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'coverity_scan' of github.com:mquinson/simgrid
[simgrid.git]
/
src
/
xbt
/
xbt_log_layout_simple.c
diff --git
a/src/xbt/xbt_log_layout_simple.c
b/src/xbt/xbt_log_layout_simple.c
index
174e343
..
8f25418
100644
(file)
--- a/
src/xbt/xbt_log_layout_simple.c
+++ b/
src/xbt/xbt_log_layout_simple.c
@@
-8,12
+8,12
@@
#include "xbt/sysdep.h"
#include "xbt/strbuff.h" /* For dynamic version when the static one fails */
#include "xbt/sysdep.h"
#include "xbt/strbuff.h" /* For dynamic version when the static one fails */
-#include "xbt/log_private.h"
+#include "
src/
xbt/log_private.h"
#include "simgrid/simix.h" /* SIMIX_host_self_get_name */
#include "surf/surf.h"
#include <stdio.h>
#include "simgrid/simix.h" /* SIMIX_host_self_get_name */
#include "surf/surf.h"
#include <stdio.h>
-#include "portable.h"
+#include "
src/
portable.h"
extern const char *xbt_log_priority_names[8];
extern int xbt_log_no_loc;
extern const char *xbt_log_priority_names[8];
extern int xbt_log_no_loc;
@@
-40,7
+40,7
@@
static int xbt_log_layout_simple_doit(xbt_log_layout_t l,
/* Display the proc info if available */
procname = xbt_procname();
/* Display the proc info if available */
procname = xbt_procname();
- if (procname &&
*procname
) {
+ if (procname &&
strcmp(procname,"maestro")
) {
len = snprintf(p, rem_size, "%s:%s:(%d) ",
SIMIX_host_self_get_name(), procname, xbt_getpid());
check_overflow(len);
len = snprintf(p, rem_size, "%s:%s:(%d) ",
SIMIX_host_self_get_name(), procname, xbt_getpid());
check_overflow(len);