Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I killed so much autogenerated that the svn revision keeps clean after a build on...
[simgrid.git] / src / xbt / asserts.c
index dd1a301..7b3912b 100644 (file)
@@ -1,5 +1,5 @@
 /* $Id$ */
-/*  xbt/asserts.h -- assertion mecanism                                     */
+/*  xbt/asserts.h -- assertion mechanism                                     */
 
 /* Copyright (c) 2004,2005 Martin Quinson. All rights reserved.             */
 
@@ -21,7 +21,8 @@ XBT_LOG_DEFAULT_CATEGORY(xbt);
  *
  * The message is handled by a CRITICAL logging request
  *
- * If you want to pass arguments to the format, you can always write xbt_assert1(0,"fmt",args)
+ * If you want to pass arguments to the format, you can always write xbt_assert1(0,"fmt",args) or
+ * xbt_die(bprintf("fmt", arg))
  */
 void xbt_die (const char *msg) {
   CRITICAL1("%s",msg);