From: mquinson Date: Fri, 21 Apr 2006 22:27:45 +0000 (+0000) Subject: Convert a printf to an ERROR so that even archs without backtraces use the log chanel... X-Git-Tag: v3.3~3186 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7635b2e5c0f40d6fa06fa45d4c638a452aaf7743 Convert a printf to an ERROR so that even archs without backtraces use the log chanel (or gcc dies with an error about a variable being declared but never used. Yeah, paranoid flags are used) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2172 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 907d73ed30..8ee3c3d334 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -48,7 +48,7 @@ void xbt_backtrace_display(void) { e.remote=0; xbt_ex_free(e); #else - fprintf(stderr,"No backtrace on this arch"); + ERROR0("No backtrace on this arch"); #endif }